curl-users
Re: curl hangs after EPSV
Date: Thu, 19 Jun 2008 20:30:03 -0700
On Thu, Jun 19, 2008 at 07:19:24PM -0500, Terra Frost wrote:
> The logs can be found here:
>
> http://www.frostjedi.com/terra/curl01.txt
> http://www.frostjedi.com/terra/curl02.txt
>
> The first one gives a different error in the CLI (stderr?) - "Uploaded
> unaligned file size (0 out of 351232 bytes)". I get this error about, maybe,
> 10% of the time. The other one (the second one) occurs about 90% of the time
> and gives a "Connection time-out" error in the CLI.
>
>
> > I'm able to connect via FlashFXP without any problems. One thing I
> noticed
> > when doing this is that FlashFXP never sends EPSV. I tried disabling
> that with
> > the --disable-epsv flag, but that didn't help. I tried --ftp-pasv and
> > --ftp-skip-pasv-ip, too, to no avail.
> >
> > When I try to do it from the same computer (10.0.0.101), however, it
> works.
> > PASV is never sent and the test file I'm trying to upload is uploaded.
>
> Could it be a firewall blocking the data connection?
>
> Maybe, but wouldn't a firewall just block the port? Here, it's able to connect
> and even issue a few commands. It just doesn't seem to want to do anything
> after that.
FTP transfers need two ports--one for the control connection, which is
working fine for one, and one for the data connection, which isn't. It's
looking pretty strongly like a firewall problem from those logs. You
could also try FTP PORT mode with the --ftp-port option to try to get
around the firewall problem.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2008-06-20