cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP problem

From: Steven R. Shourds <srs_at_perfectionsoftware.com>
Date: Tue, 10 Feb 2004 13:57:44 -0500

The FTP post does not work if I remove -P (--ftp-port). This is a requirement of the Server. Here is a response.

 0000: 150 Opening data connection for transfer.
 == Info: server did not report OK, got 150
 == Info: Connection #0 left intact

Steve
www.perfectionsoftware.com
800-766-7530
  ----- Original Message -----
  From: Roth, Kevin P.
  To: curl tool talk
  Sent: Tuesday, February 10, 2004 9:32 AM
  Subject: RE: FTP problem

  Could this be a PORT vs PASV issue? You didn't say which Windows FTP client you're using, but does it have an option somewhere to switch to "Passive" mode? If so, can you turn it off and see whether it starts breaking behind the Multitech also?

  Or, try removing the -P (--ftp-port) option from your curl command line, and see if it starts working.

  - Kevin

------------------------------------------------------------------------------
  From: Steven Shourds
  Sent: Tue 2/10/04 4:18 AM

  I am executing curl and getting a timeout when doing an FTP post. See trace below. My timeout parameter is set to 90 seconds. The post usually concludes in less that 5 seconds.

  I have troubleshot the problem down to the router I am using. I have a Multitech RF560VPN router and it times out. I use an SMC7004ABR and it works fine.

  ...
Received on 2004-02-10