[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2542
  • Last Modified:

keep the FTP connection alive uploading multiple files using VB .net 2005

I have a project in VS 2005 using VB .net. I would like to login to the FTP server once but keep the connection alive while I upload multiple files from different folder meaning I will be executing the upload function multiple times while the ftp connection is alive. Do you a funtion or some code to do this?
0
GeneBe
Asked:
GeneBe
1 Solution
 
SQL_SERVER_DBACommented:
CLICK website from the menu....click copy website...connect from there.
0
 
rwaldicottCommented:
most servers are smart enough to keep the command channel open while a data transfer is in progress.  if not then you can send a NOOP command to the command channel periodically during transfer to prevent the server from disconnecting the client due to inactivity.

check out the following API

http://www.jscape.com/sftpdotnet/

0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now