1. If your ASP.NET application is hosted on a webserver which is on a different machine, it isn't going to find files that you select on your local machine.
2. If the webserver is on the same machine and you know the files are there, ASP.NET probably doesn't have permission to read My Documents from within IIS anyway.
I think its the case 1.
I have application hosted on a webserver and I'm accessing it using internet and http protocol something like
http://www.mydomain.com/UploadFile.aspx which uploads files to my websever in a specified directory.
But when I try to upload files from my machine to server using this application which uses edtFtpnet I get different errors such as:
1. at times it returns a message "Cound not find file <path><filename>"
2. at times it returns a message "Unable to read data from the transport connection"
3. at some of the times it displays only the "<path><filename>"
I'm not sure where its going wrong.
and as you said in case 1. that if application is running on a webserver on a different machine and I'm trying to access application from a client machine to upload file and picking file from my client machine it would not find files on my machine then what is the purpose of upload functionality using ftp?
People do Ftp to upload files on a remote machine from their local machine and that is what I'm doing and I'm not sure if edtFtpNet support it properly.
Can anybody through a vb.net code for using in asp.net for file upload using edtftpnet, so that I can compare what I'm not doing properly. It would be a great help. I want to thanks to all who help in for this.