I am having a strange issue at the moment, uploads seem to hang from my linux boxes to the remote end.
These are the dumps from curling the files.
Quote:
root@transfer:~# curl -B -u "xxxxx:xxxxxx" -v -T /tmp/blahblah ftp://192.168.37.4/upload/blahblah
* About to connect() to 192.168.37.4 port 21 (#0)
* Trying 192.168.37.4... connected
* Connected to 192.168.37.4 (192.168.37.4) port 21 (#0)
< 220 ipnd0 FTP server (Version IPND-1.08(3) Mon Feb 4 16:01:16 EST 2008) ready.
> USER xxxxxx
< 331 Password required for xxxxxx.
> PASS xxxxxx
< 230 User xxxxxx logged in.
> PWD
< 257 "/users/xxxxxx" is current directory.
* Entry path is '/users/xxxxxx'
> CWD upload
< 250 CWD command successful.
> EPSV
* Connect data stream passively
< 500 'EPSV': command not understood.
* disabling EPSV usage
> PASV
< 227 Entering Passive Mode (192,168,37,4,54,174)
* Trying 192.168.37.4... connected
* Connecting to 192.168.37.4 (192.168.37.4) port 13998
> TYPE A
< 200 Type set to A.
> STOR blahblah
< 150 Opening ASCII mode data connection for blahblah.
} [data not shown]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8506 0 0 100 8507 0 1229 0:00:06 0:00:06 --:--:-- 1229* Remembering we are in dir "upload/"
100 8506 0 0 100 8507 0 127 0:01:06 0:01:06 --:--:-- 0* FTP response timeout
* control connection looks dead
100 8506 0 0 100 8507 0 127 0:01:06 0:01:06 --:--:-- 0* Closing connection #0
curl: (28) FTP response timeout
|
There is a firewall that is not blocking anything since i have allowed any/any both ways.
I have tested this in passive mode (as above) and with passive mode off.
The strangest thing is, is that this upload will work FINE from another box that is a Windows CURL instead of linux.
It is not IPTABLES either, ive checked the tables and tried to flush them anyway, ive also tested this from another linux box and get the same problem.