Multithreaded FTP upload. Is it possible?
Posted
by Arty
on Stack Overflow
See other posts from Stack Overflow
or by Arty
Published on 2010-04-03T08:07:09Z
Indexed on
2010/04/03
8:13 UTC
Read the original article
Hit count: 268
I need to upload multiple files from directory to the server via FTP and SFTP. I've solved this task for SFTP with python, paramiko and threading. But I have problem with doing it for FTP. I tried to use ftplib for python, but it seems that it doesn't support threading and I upload all files one by one, which is very slow.
I'm wondering is it even possible to do multithreading uploads with FTP protocol without creating separate connections/authorizations (it takes too long)?
Solution can be on Python or PHP. Maybe CURL? Would be grateful for any ideas.
© Stack Overflow or respective owner