curl-users
Diagnosing ftp access woes with ftp
From: Owen Watson <o.m.watson_at_gmail.com>
Date: Tue, 17 Jul 2007 15:18:50 +1200
Date: Tue, 17 Jul 2007 15:18:50 +1200
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?
Received on 2007-07-17