Home All Groups Group Topic Archive Search About

Re: FTP Active Mode - Can't Get Server To Connect after PORT Command

Author
4 Oct 2005 7:00 AM
Chad Z. Hower a.k.a. Kudzu [msft]
> lhi.Address[0] is resolved to my workstation.  When I use IPAddress.Any,
> the
> PORT command arguments sent are "0, 0, 0, 0, 5, 193", and I get an
> "Invalid
> PORT command" response from the FTP server.

It's been a while since I coded directly at the FTP protocol level, but IIRC the first four bytes are the IP. So issuing an IP of 0.0.0.0, that’s why the server is rejecting you.

_________________________
Chad Z. Hower
Regional .NET Developer Advisor (DPE DE)
Microsoft Middle East & Africa
+90 212 326 5185
+90 533 685 6256 (Mobile)

Legal Disclaimer
Any newsgroup or public forum postings are my own postings and not official positions of Microsoft. No warranty is included or implied.

AddThis Social Bookmark Button