October 2012 Entries

(550) File unavailable (e.g., file not found, no access).

If you are getting above error while using FtpWebRequest method to upload file to a FTP sever, please check your URL, The URL must be case sensitive. Otherwise you will get this error.

Posted On Thursday, October 18, 2012 2:43 AM | Comments (1)

The remote server returned an error: 227 Entering Passive Mode
Today while uploading file to FTP sever, the codes throw an error - "The remote server returned an error: 227 Entering Passive Mode", after research, I got some knowledge in FTP working principle. FTP may run in active or passive mode, which determines how the data connection is established. Active mode: command connection: client >1024 -> server 21 data connection: client >1024 <- server 20 passive mode: command connection: client > 1024 -> server 21 data connection: client > ......

Posted On Tuesday, October 16, 2012 1:55 PM | Comments (4)