I have created a small windows forms application to upload the file to one of our client\'s ftp site. But the problem that I\'m having is that when I run this application on
It could be more simple.
I facing similar issue and i tried all the suggested solution but no one work. I'm figure out in simple manner like this one : take a look
Wrong code at my end
Dim request As Net.FtpWebRequest = CType(FtpWebRequest.Create("ftp://xxx.xxx.xxx.xxx/files"), FtpWebRequest)
Change it in this simple one :
Dim request As Net.FtpWebRequest = CType(FtpWebRequest.Create("ftp://xxx.xxx.xxx.xxx/files/youfilename.ext"), FtpWebRequest)
then procced with fill request and send to server :)
That's all.
Make sure that all permission on server work fine and u're using right credential.