Link to home
Start Free TrialLog in
Avatar of fmichail
fmichailFlag for Canada

asked on

how to ftp a file to a server using VB.Net

I have a file with full path = "c:\myfolder\myfile.pdf"
and my ftp server is = "ftp.mydomain.com"
my ftp user id is = "mydomain.com"
my ftp password is = "myPassword"
what I need to do is to write a vb.net code to send the file from my local drive to the folder "/uploads" on my server, and if the folder does not exist I need to create it.
Please provide vb.net code.
Help please. Thanks
SOLUTION
Avatar of rawinnlnx9
rawinnlnx9
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fmichail

ASKER

Great answers, Thank you both