Message283215
| Author |
giampaolo.rodola |
| Recipients |
Ivan.Pozdeev, giampaolo.rodola, peterpan |
| Date |
2016年12月14日.19:57:53 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1481745474.18.0.908823611911.issue25458@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Maybe it's me but I still fail to understand what's the issue here. From what I understand from the last message(s) it seems there is complaint about not being able to use ftplib with threads.
FTP is a "command - response" protocol which is designed to handle one request at a time, meaning you send a command then you are supposed to *wait* to get a response back.
If you want to do multiple transfers in parallel then you need a separate connection, not a separate thread using the same connection.
ftplib should *not* be thread-safe because of how FTP works. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年12月14日 19:57:54 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, Ivan.Pozdeev, peterpan |
| 2016年12月14日 19:57:54 | giampaolo.rodola | set | messageid: <1481745474.18.0.908823611911.issue25458@psf.upfronthosting.co.za> |
| 2016年12月14日 19:57:54 | giampaolo.rodola | link | issue25458 messages |
| 2016年12月14日 19:57:53 | giampaolo.rodola | create |
|