Package duplicity :: Package backends :: Module ftpbackend :: Class FTPBackend
[hide private]
[frames] | no frames]

Class FTPBackend

source code


Connect to remote store using File Transfer Protocol

Instance Methods [hide private]
 
__init__(self, parsed_url) source code
 
put(self, source_path, remote_filename=None)
Transfer source_path to remote_filename
source code
 
get(self, remote_filename, local_path)
Get remote filename, saving it to local_path
source code
 
list(self)
List files in directory
source code
 
delete(self, filename_list)
Delete files in filename_list
source code

Inherited from backend.Backend: close, get_data, get_fileobj_read, get_fileobj_write, get_password, move, munge_password, popen, popen_persist, put_data, query_info, run_command, run_command_persist, subprocess_popen, subprocess_popen_persist

Inherited from backend.Backend (private): _subprocess_popen

Class Variables [hide private]

Inherited from backend.Backend: popen_persist_breaks, use_getpass

Method Details [hide private]

__init__(self, parsed_url)
(Constructor)

source code 
Overrides: backend.Backend.__init__

put(self, source_path, remote_filename=None)

source code 

Transfer source_path to remote_filename

Overrides: backend.Backend.put

get(self, remote_filename, local_path)

source code 

Get remote filename, saving it to local_path

Overrides: backend.Backend.get

list(self)

source code 

List files in directory

Overrides: backend.Backend.list

delete(self, filename_list)

source code 

Delete files in filename_list

Overrides: backend.Backend.delete