CIME.Servers package
Submodules
CIME.Servers.ftp module
FTP Server class. Interact with a server using FTP protocol
-
class
CIME.Servers.ftp.
FTP
(address, user='', passwd='', server=None)[source]
Bases: CIME.Servers.generic_server.GenericServer
-
fileexists
(rel_path)[source]
Returns True if rel_path exists on server
-
classmethod
ftp_login
(address, user='', passwd='')[source]
-
getdirectory
(rel_path, full_path)[source]
-
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
CIME.Servers.generic_server module
Generic Server class. There should be little or no functionality in this class, it serves only
to make sure that specific server classes maintain a consistant argument list and functionality
so that they are interchangable objects
-
class
CIME.Servers.generic_server.
GenericServer
(host=' ', user=' ', passwd=' ', acct=' ', timeout=<object object>)[source]
Bases: object
-
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
CIME.Servers.gftp module
GridFTP Server class. Interact with a server using GridFTP protocol
-
class
CIME.Servers.gftp.
GridFTP
(address, user='', passwd='')[source]
Bases: CIME.Servers.generic_server.GenericServer
-
fileexists
(rel_path)[source]
Returns True if rel_path exists on server
-
getdirectory
(rel_path, full_path)[source]
-
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
CIME.Servers.svn module
SVN Server class. Interact with a server using SVN protocol
-
class
CIME.Servers.svn.
SVN
(address, user='', passwd='')[source]
Bases: CIME.Servers.generic_server.GenericServer
-
fileexists
(rel_path)[source]
Returns True if rel_path exists on server
-
getdirectory
(rel_path, full_path)[source]
-
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
CIME.Servers.wget module
WGET Server class. Interact with a server using WGET protocol
-
class
CIME.Servers.wget.
WGET
(address, user='', passwd='')[source]
Bases: CIME.Servers.generic_server.GenericServer
-
fileexists
(rel_path)[source]
Returns True if rel_path exists on server
-
getdirectory
(rel_path, full_path)[source]
-
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
-
classmethod
wget_login
(address, user='', passwd='')[source]
Module contents