SFTP
Connect to the designated FTP/SFTP server to upload or download files
Last updated
Connect to the designated FTP/SFTP server to upload or download files
Last updated
FTP/SFTP host, which can be an IP address or a hostname.
SSH host port number, the default value is 22.
User account name.
Password for the account.
In addition to providing synchronous functions like api.files(), api.read(filename, encoding='utf8'), api.write(filename, text), api.rename(oldname, newname), and api.remove(filename) for accessing files within the workspace, the module also offers an FTP object and related asynchronous functions such as api.ftp.list(path), api.ftp.get(path, filename), api.ftp.put(filename, path), api.ftp.mkdir(path), api.ftp.rename(path, newpath), and api.ftp.remove(path) as follows:
--
We are dedicated to improving our content. Please let us know if you come across any errors, including spelling, grammar, or other mistakes, as your feedback is valuable to us! 🤖️⚡️