Error 550 while downloading from ftp

Hi im having the following error code:

Error trying to save file: Error downloading "ftp://user:password@ftp.x.com/Depaso/Updates/wyserver.wys": The remote server returned an error: (550) File unavailable (e.g., file not found, no access).

Debugging the source code I found that the error shows up while retrieving file's size. If I comment this three lines:

req.Method = WebRequestMethods.Ftp.GetFileSize; downloadData.response = req.GetResponse(); downloadData.GetFileSize();

now i get the following error:

The downloaded server file does not have the correct identifier. This is usually caused by file corruption.

My ftp is on binary transfer mode already, could anyone help me please? Thanks.

My guess is that the files doesn't exist on the server OR the FTP server you're using is old and/or broken in some way. Frankly, I would avoid FTP altogether and use an HTTP server for downloads. It's faster and HTTP servers are more likely to follow the standards. If you can't use an HTTP server, then switch to an FTP server that follows the standards.