Upload file from local HD to remote server.

sergeysagan

Member
Joined
Sep 10, 2003
Messages
7
How do I upload a file from local HD to remote server, via FTP or otherwise that has username/password authentication, in Visual Basic .NET? I am seriously having the hardest time trying to find any documentation/tutorials on this subject...Thank you in advance.
 
If you are Logged In to a network with a DC, all permissions are already defined. So to simplify the things, share the folder where you want to upload the files on the folder (you can set the permissions on that folder to a group of users or just for you... this is not a developing problem but a administrator one) and with this correctly set up just upload the files using Sistem.IO.

On other hand, if you wish to use this same feature on Internet the more secure way is configuring a VPN to your server. With this you will have the same previleges that you have logged locally and the System.IO works exacly the same way.

Other way is using WebServices but this will cause you much trouble to a simple question as you will have to use the new DIME technology with SOAP, wicth enables you to send packages of files atached to the soap envelope... :)

Good luck ! :D
 
Back
Top