Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to transfer multiple files in single FTP session?

Status
Not open for further replies.

alexjones

Programmer
Jul 27, 2001
132
US
I know that, when transferring files in stream mode, TCP indicates end of file by closing the data connection used to transfer the file. And that TCP prevents reuse of that data connection for a period of time before allowing the connection to be reopened.

I'm looking for a way to insert a time delay between successive download requests in a single FTP session.

I know I can loop through downloading one file per session. It just seems like a shame to have to do that for a couple of hundred files.

Can anybody help with this?
 
The command-line version of FTP has the mget and mput commands for retrieving and sending multiple files.

I haven't looked at the .NET framework FTP stuff - can you post a short example of your code?

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top