Package install :: Package MoSTBioDat :: Package Transfer :: Module fileFTPtools
[hide private]
[frames] | no frames]

Module fileFTPtools

source code

Classes [hide private]
  fileFtpTools
methods operating on file object INPUT: fileFtpInfo - file object listfile - list, list of files to download, default empty
  parseFtpPerm
parse file's permission attributes INPUT: fullmode - str, file's permission string OUTPUT: class object
  parseFtpDate
parse the date INPUT: date string
  fileFtpInfo
create file object...
Functions [hide private]
 
rmlocalDir(path)
remove local directory tree INPUT: path to directory to be removed
source code
 
fileFilter(file)
remove '.' and '..' from listing INPUT: file - str, filename OUTPUT: boolean True or False
source code
 
fileInfo(cwd, line, flag)
detailed file description's parser INPUT: cwd - current working directory line - line flag - boolean, if True print line ftp file's description OUTPUT: file object
source code