Contents:
esm_archiving.external.pypftp.
upload
download
Pftp
Bases: object
object
HOST
PORT
close
cwd
change working directory
directories
gather directories at the given path
uses pftp binary for transfering the file
exists
check if a path exists
files
gather files at the given path
is_connected
check if the connection is still active
isdir
Returns true if pathname refers to an existing directory
isfile
Returns true if pathname refers to an existing file
islink
listdir
list directory contents
listing
listing2
directory listing in long form. similar to “ls -l”
makedirs
Recursively create dirs as required walking up to an existing parent dir
mkdir
mlsd
pwd
present working directory
quit
reconnect
reconnects to the ftp server
remove
removedirs
rename
rmdir
remove directory
size
Returns size of path in bytes
stat
Returns stat of the path
walk
recursively walk the directory tree from the given path. Similar to os.walk
walk_for_directories
recursively gather directories
walk_for_files
recursively gather files