ftp_client module¶
-
exception
ftp_client.
CouldNotFindPropertiesException
[source]¶ Bases:
exceptions.Exception
An Exception that is raised when the ‘server.properties’ file could not be found at the default directory of the FTP Server
-
exception
ftp_client.
CouldNotFindWorldFolderException
[source]¶ Bases:
exceptions.Exception
An Exception that is raised when the world directory that is specified in the the ‘server.properties’ cannot be found
-
class
ftp_client.
FTPClient
(ip, username='anonymous', password='')[source]¶ Wrapper client to download and upload worlds to a FTP Server
-
cleanup
()[source]¶ Closes the FTP connection and removes all leftover files from the ‘ftp’ directory
-