I am using
curl to upload a file to ftp server. The same script is working on another system, but on this one after connecting to ftp it is not doing anything and connection times out. The detailed output with -v options is as follows:
curl -v -# -T live_mc.sql ftp://userid:firstname.lastname@example.org/rdirc/ * About to connect() to myserver.dyndns.biz port 21 (#0) * Trying xxx.xxx.xxx.xx... connected * Connected to myserver.dyndns.biz (18.104.22.168) port 21 (#0) < 220-FileZilla Server version 0.9.37 beta < 220-written by Tim Kosse (Tim.Kosse@gmx.de) < 220 Please visit http://sourceforge.net/projects/filezilla/ > USER userid < 331 Password required for userid > PASS pwd < 230 Logged on > PWD < 257 "/" is current directory. * Entry path is '/' > CWD rdirc < 250 CWD successful. "/rdirc" is current directory. > EPSV * Connect data stream passively < 229 Entering Extended Passive Mode (|||3271|) * Trying xxx.xxx.xxx.xx...
I have also tried
--user options but no success. Please help to figure out what is wrong.