Or use a third party solution, get it done immediately. Here's 5 lines
of VB.NET code that connects to an ftp server, uploads everything in
the target folder (including all subfolders, recursively, while
preserving the subdirectory structure), then disconnects.
Imports Xceed.Ftp
Dim ftp As New FtpClient()
ftp.Connect( "yourftpsite.com" )
ftp.Login()
ftp.SendMultipleFiles( "c:\folder to upload\*", True, True )
ftp.Disconnect()
This code uses Xceed FTP for .NET, part of the Xceed Data Manipulation
Suite, a $300 product.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.