Hello,
I'm new to the .Net arena and have a question on how to upload a file from my local drive to an FTP server using the WebClient.UploadFile. I have been able to establish a connection to the FTP server but keep getting a 550 File Unavailable error. I'm about to jump of the nearest bridge if I can get this to work.
This is the syntax I am using:
Dim FtpClient as New System.Net.WebClient
FtpClient.UploadFile("ftp://user
assword@ipaddress:21/path",WebRequestMethods.Ftp.UploadFile, "C:\temp\textfile.txt")
Can someone please help me figure out what I'm doing wrong and maybe point me in the right direction to isolate exactly why the request can't process the file?
Your help is greatly appreciated.
ERM
I'm new to the .Net arena and have a question on how to upload a file from my local drive to an FTP server using the WebClient.UploadFile. I have been able to establish a connection to the FTP server but keep getting a 550 File Unavailable error. I'm about to jump of the nearest bridge if I can get this to work.
This is the syntax I am using:
Dim FtpClient as New System.Net.WebClient
FtpClient.UploadFile("ftp://user
Can someone please help me figure out what I'm doing wrong and maybe point me in the right direction to isolate exactly why the request can't process the file?
Your help is greatly appreciated.
ERM