I am using this code to upload / download files from my FTP server
//Download
My.Computer.Network.DownloadFile(txtFile, localFilePath, userName, pw)
//Upload
My.Computer.Network.UploadFile(localFilePath, txtFile, userName, pw)
The download is working perfectly. The upload line throws a WebException though.
This is kind of weird since I'm using the same variables in both requests.
Any idea what the reason for this could be? Thanks