I'm using tftpy to create TFTP server in my Python program and it works amazing. However, I need to have other flavors of servers: TFTP, FTP, SFTP. What package may I use that supports all of them?
-
2The main common thing of these protocols is "ftp" in their name. Apart from that these are completely different protocols, so you might need to use separate packages for each of these. – Steffen Ullrich Apr 11 '14 at 07:05
1 Answers
Every protocol needs its own implementation, for example:
However, if you insist on a single package to rule them all, and don't mind getting your hands a bit dirty, PycURL is for you:
PycURL is a Python interface to libcurl. PycURL can be used to fetch objects identified by a URL from a Python program, similar to the urllib Python module. PycURL is mature, very fast, and supports a lot of features.
libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3 and RTSP. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http proxy tunneling and more!
-
Thank you for the reply! I'm inclined to use several packages since I'm implementing interface to them anyway – Konstantin Apr 14 '14 at 14:49