curl-users
Re: Diagnosing ftp access woes with ftp
Date: Thu, 19 Jul 2007 23:06:35 +0200 (CEST)
On Tue, 17 Jul 2007, Owen Watson wrote:
> I'm having problems with accessing a ftp server which is accessible
> from one IP address but not another. I've ruled out Windows Firewall,
> so I've set up another IP address on my own PC and tested in with this
> batch file:
> curl -P - --interface 111.111.111.2 ftp://user:pass@ftp.com/
> curl -P - --interface 111.111.111.100 ftp://user:pass@ftp.com/
> We aren't using NAT, and this batch file produces OK output from both lines,
> one which is from a IP that is known to work and one that is giving me
> problems.
>
> Is this a good test to check whether it is the ftp server or the firm's
> firewall is the problem?
It can be. You need to check the FTP protocol dump (use --trace-ascii or
similar) or possibly use a network analyzer like wireshark or similar.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-07-19