I 'm developing FTP exe ASP.NET、C#2.0 .

but I FTP server returned 500 error This command execute everyday. but this error is o**ccured only twice** on the month. What's wrong?

link|improve this question

39% accept rate
We need more details, was there an error message to go with it, is the error from your code or from the FTP serve. If its from your code this question may be better on stackoverflow – Sam Jul 7 '09 at 11:15
feedback

2 Answers

Is there a firewall sitting between the source and destination?

http://support.microsoft.com/kb/281193

link|improve this answer
feedback

FTP 500 is an "Invalid PORT Command". As FTP uses a separate Port for data transfer, likely your FTP Client tried to pass in an invalid port.

When the error occurs, write down the port, decode it, that your client sent and verify that a) it's valid and b) that it's open.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.