Brain-dead design
May. 17th, 2009 09:18 pmFTP on thousands of tiny files is incredibly slow because it's creating a new connection* for each one. This seems very, very silly.
How should I be doing this? Or is this really the best the internet can manage?
*Not a completely new connection, of course, but it goes into and out of file-transfer for each one, and I'm watching the commands scrolling up the screen endlessly, rather than it just uploading a 5MB block of "stuff" and a series of commands for what to do with it at the other end...
How should I be doing this? Or is this really the best the internet can manage?
*Not a completely new connection, of course, but it goes into and out of file-transfer for each one, and I'm watching the commands scrolling up the screen endlessly, rather than it just uploading a 5MB block of "stuff" and a series of commands for what to do with it at the other end...
no subject
Date: 2009-05-17 08:23 pm (UTC)no subject
Date: 2009-05-17 08:29 pm (UTC)no subject
Date: 2009-05-17 08:30 pm (UTC)no subject
Date: 2009-05-17 08:28 pm (UTC)Or some FTP servers offer 'download entire folder as zip' as an option - may require reversing the polarity of your FTP flux.
no subject
Date: 2009-05-17 08:29 pm (UTC)no subject
Date: 2009-05-17 10:33 pm (UTC)no subject
Date: 2009-05-17 10:05 pm (UTC)no subject
Date: 2009-05-17 10:11 pm (UTC)no subject
Date: 2009-05-17 10:13 pm (UTC)no subject
Date: 2009-05-18 08:05 am (UTC)no subject
Date: 2009-05-17 10:38 pm (UTC)no subject
Date: 2009-05-18 04:04 am (UTC)no subject
Date: 2009-05-18 08:01 am (UTC)no subject
Date: 2009-05-18 06:16 am (UTC)I don't know if its' possible to pipeline the connection process: afterall, the control channel in a FTP connection isn't *doing* anything while the data connection is active; if the server would let you, it ought to be possible to send the next PORT/PASV;RECV/STOR while the last one is still processing.
Failing that, of course, you could always just have multiple complete FTP connections.
It's clunky 'cause it's old.