Tools to connect to a FTP server, upload files etc.

connect_to_server(url, login, password, folder, verbose=False)[source]

Connects to the FTP server using the given connection settings.

Use the given url, login and password information to make a connection. Move to the given folder (if it exists), and return a FTP object.

To get to the lower level details about the FTP connection, use the optional parameter verbose=True.

upload_file(filePath, FTPconnection)[source]

Upload the file at file_path to a FTP server, using the given ftp_connection.

Previous topic


Next topic


This Page