CIME.Servers.ftp.FTP

class CIME.Servers.ftp.FTP(address, user='', passwd='', server=None)[source]

Bases: GenericServer

Methods

__init__

fileexists

Returns True if rel_path exists on server

ftp_login

getdirectory

getfile

Get file from rel_path on server and place in location full_path on client fail if full_path already exists on client, return True if successful

fileexists(rel_path)[source]

Returns True if rel_path exists on server

getfile(rel_path, full_path)[source]

Get file from rel_path on server and place in location full_path on client fail if full_path already exists on client, return True if successful