Package install :: Package MoSTBioDat :: Package Transfer :: Module fileSFTPtools :: Class fileSFtpTools
[hide private]
[frames] | no frames]

Class fileSFtpTools

source code

                                   object --+    
                                            |    
MoSTBioDat.Transfer.fileFTPtools.fileFtpTools --+
                                                |
                                               fileSFtpTools

methods operating on file object BASE CLASS: fileFTPtools.fileFtpTools INPUT: fileFtpInfo - file class object listfile - list, list of files to download - [str]

Instance Methods [hide private]
 
__init__(self, fileFtpInfo, listfile=[])
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
transferFtpFile(self, sftpobj, path, log, binary=True, callback=None)
transfer file from remote directory to local machine INPUT: sftp - class object path - str, path on local machine to download files - str binary - boolean, default True callback - default None
source code

Inherited from MoSTBioDat.Transfer.fileFTPtools.fileFtpTools: backupLocalFile, check, compare, downloadFile, files2download, getlocalDir, makeLocalFile

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]

Inherited from MoSTBioDat.Transfer.fileFTPtools.fileFtpTools: fullDownload, notDownload, partialDownload

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fileFtpInfo, listfile=[])
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

transferFtpFile(self, sftpobj, path, log, binary=True, callback=None)

source code 

transfer file from remote directory to local machine INPUT: sftp - class object path - str, path on local machine to download files - str binary - boolean, default True callback - default None

Overrides: MoSTBioDat.Transfer.fileFTPtools.fileFtpTools.transferFtpFile