How to Use FTP / FTP_TLS in Python to List, Upload, and Download Files

preview_player
Показать описание

Interested in transforming your career or finding your next gig?

Want my team to do a project for you? Let's get to it!

Want to get access to premium content made just for you and have a chat with me? Find me on Patreon :

Demo of my BZ RDP Cloaker:

Want to work with me 1:1? Contact me today and book your free 20 min consultation!

Follow me on social media:

Get Microsoft Office including Access:

Got a YouTube Channel? I use TubeBuddy, it is awesome. Give it a try:

#python #ftp #dataengineering
Рекомендации по теме
Комментарии
Автор

Hi Sean, I can list files from ftp but whenever I try to upload data it freezes for some time and throws this error.
ConnectionResetError: [Errno 54] Connection reset by peer

I checked the network and connection everything is ok and it runs smoothly while running from filezilla but doesn't work in python

anishpaudel
Автор

Hi Sean, whenever I try to retrieve data /upload files
I get this error-->"522 Data connection must use cached TLS session"
Will be helpful if you can throw some light on this

dilawarshaik
Автор

Great video! I have a set of 5 files(format: file_name1_datestamp(dd-mm-yyyy), that I need to download every day. How would you go about only pulling the latest files from the ftp server? I didn't find yet a good solution. Any help would be greatly appreciated.

TiagoDeMesquita
Автор

Hi Sean, In my case, i need to use certfile params in FTP_TLS, because our target server is completely secure, when i am trying to connect, i am getting this error : [SSL] PEM lib (_ssl.c:2803), could you help me please .

jegatheeswaransundaravadiv
Автор

THANKS SO MUCH! Was exactly what I was looking for)

tacoblacho
Автор

My server use FTPS, i don't have problems with connect, but on step "retrlines("LIST")" i get freeze my script.
Can you help with advice, please?)

ps. Works with FileZilla without problems

ChillMouse