curl-users
Active FTP uploads
Date: Thu, 1 Feb 2007 16:19:25 -0500
I am trying to upload a file to a FTP server that uses active
transfers. I have tried using the -disable-eprt option but that is not
helping.
Any help anyone could provide would be amazing!!
Thank you
Mark
/sw/bin/curl -v --disable-eprt -T /Users/markb/Desktop/100094_.eps
ftp://USER:PASS@HOST/VOL1/
* About to connect() to HOST port 21
* Trying HOST... connected
* Connected to HOST (HOST) port 21
< 220 Service Ready for new User
> USER username
< 331 Password Needed for Login
> PASS password
< 230 User username Logged in Successfully
> PWD
< 257 "/VOL2/USERS/username" is Current Directory
* Entry path is '/VOL2/USERS/username'
> CWD VOL1
< 250 Directory successfully changed to "/VOL2/USERS/username/VOL1"
> EPSV
* Connect data stream passively
< 500 'EPSV' : Unknown Command
* disabling EPSV usage
> PASV
* FTP response reading failed
* Remembering we are in dir VOL1/100094_.eps
* Uploaded unaligned file size (0 out of 154732 bytes)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:03
--:--:-- 0* Closing connection #0
curl: (56) FTP response reading failed
Received on 2007-02-01