Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install ftp-cloudfs

How to install ftp-cloudfs

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install ftp-cloudfs
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.7.1
0.23.1Never BuiltWhy not?
0.7.1 Available View build log
0.5 Failed View build log
Windows (64-bit)
0.7.1
0.23.1Never BuiltWhy not?
0.7.1 Available View build log
0.5 Failed View build log
Mac OS X (10.5+)
0.15
0.23.1Never BuiltWhy not?
0.15 Available View build log
0.12.2 Available View build log
0.10 Available View build log
0.9 Available View build log
0.7.1 Available View build log
0.5 Failed View build log
Linux (32-bit)
0.22
0.23.1Never BuiltWhy not?
0.22 Available View build log
0.17 Available View build log
0.16 Available View build log
0.15 Available View build log
0.12.2 Available View build log
0.10 Available View build log
0.9 Available View build log
0.7.1 Available View build log
0.5 Failed View build log
Linux (64-bit)
0.23.1 Available View build log
0.22 Available View build log
0.17 Available View build log
0.16 Available View build log
0.15 Available View build log
0.12.2 Available View build log
0.10 Available View build log
0.9 Available View build log
0.7.1 Available View build log
0.5 Failed View build log
 
License
MIT
Imports
Lastest release
version 0.23.1 on Jan 9th, 2014

DESCRIPTION

ftp-cloudfs is a ftp server acting as a proxy to OpenStack Object Storage (swift). It allow you to connect via any FTP client to do upload/download or create containers.

By default the server will bind to port 2021 which allow to be run as a non root/administrator user.

It supports pseudo-hierarchical folders/directories as described in the OpenStack Object Storage API.

REQUIREMENT

Operating Systems

fpt-cloudfs is developed and tested in Ubuntu and Debian Linux distributions but it should work on any Unix-like (including Mac OS X) as long as you install the requirements listed above.

INSTALL

Use standard setup.py directives ie.:

python setup.py install

Or if you have pip installed you can just run:

pip install ftp-cloudfs

which will install ftp-cloudfs with all the dependencies needed.

ftp-cloudfs has been included in Debian Jessie.

USAGE

The install should have created a /usr/bin/ftpcloudfs (or whatever prefix defined in your python distribution or command line arguments) which can be used like this:

Usage: ftpcloudfs [options]

Options:
--version show program's version number and exit
-h, --help show this help message and exit
-p PORT, --port=PORT
 Port to bind the server (default: 2021)
-b BIND_ADDRESS, --bind-address=BIND_ADDRESS
 Address to bind (default: 127.0.0.1)
-a AUTHURL, --auth-url=AUTHURL
 Authentication URL (required)
--memcache=MEMCACHE
 Memcache server(s) to be used for cache (ip:port)
-v, --verbose Be verbose on logging
-f, --foreground
 Do not attempt to daemonize but run in foreground
-l LOG_FILE, --log-file=LOG_FILE
 Log File: Default stdout when in foreground
--syslog Enable logging to the system logger (daemon facility)
--pid-file=PID_FILE
 Pid file location when in daemon mode
--uid=UID UID to drop the privilige to when in daemon mode
--gid=GID GID to drop the privilige to when in daemon mode
--keystone-auth
 Use auth 2.0 (Keystone, requires keystoneclient)
--keystone-region-name=REGION_NAME
 Region name to be used in auth 2.0
--keystone-tenant-separator=TENANT_SEPARATOR
 Character used to separate tenant_name/username in auth 2.0 (default: TENANT.USERNAME)
--keystone-service-type=SERVICE_TYPE
 Service type to be used in auth 2.0 (default: object- store)
--keystone-endpoint-type=ENDPOINT_TYPE
 Endpoint type to be used in auth 2.0 (default: publicURL)

The defaults can be changed using a configuration file (by default in /etc/ftpcloudfs.conf). Check the example file included in the package.

CACHE MANAGEMENT

OpenStack Object Storage (Swift) is an object storage and not a real file system. This proxy simulates enough file system functionality to be used over FTP, but it has a performance impact.

To improve the performance a cache is used. It can be local or external (with Memcache). By default a local cache is used, unless one or more Memcache servers are configured.

If you're using just one client the local cache may be fine, but if you're using several connections, configuring an external cache is highly recommended.

AUTH 2.0

By default ftp-cloudfs will use Swift auth 1.0, that is compatible with OpenStack Object Storage using swauth auth middleware and Swift implementations such as Rackspace Cloud Files or Memset's Memstore Cloud Storage.

Optionally OpenStack Identity Service 2.0 can be used. Currently python-keystoneclient is required to use auth 2.0 and it can be enabled with keystone-auth option.

You can provide a tenant name in the FTP login user with TENANT.USERNAME (using a dot as separator). Please check the example configuration file for further details.

SUPPORT

The project website is at:

https://github.com/cloudfs/ftp-cloudfs/issues

There you can file bug reports, ask for help or contribute patches. There's additional information at:

https://github.com/cloudfs/ftp-cloudfs/wiki

LICENSE

Unless otherwise noted, all files are released under the MIT license, exceptions contain licensing information in them.

Copyright (C) 2009-2013 Chmouel Boudjnah <chmouel@chmouel.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Authors

Contributors

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.