cURL / Mailing Lists / curl-users / Single Mail

curl-users

Unable to connect to FTP server

From: Sagar Saibi <sagar.saibi_at_patni.com>
Date: Thu, 26 May 2005 15:48:58 +0530

Hi All,

 I want to download the files from a FTP server.

 I tried using

  curl ftp://name:passwd@machine.domain:port/full/path/to/file

  curl -u name:passwd ftp://machine.domain:port/full/path/to/file

  curl -x my-proxy:21 -u name:passwd
ftp://machine.domain:port/full/path/to/file

 but I always get the "curl: (52) Empty reply from server" error.

 below is the log :-

 * About to connect() to ftpproxy port 1080
 * Connected to internet-direct.westlan.com (167.68.224.33) port 1080
 * Proxy auth using Basic with user 'tho22wst'
> GET ftp://63.71.228.72/padx/ HTTP/1.1
 Proxy-authorization: Basic dGhvMjJ3c3Q6cmFoNDJzb24=
 User-Agent: curl/7.11.1 (powerpc-ibm-aix5.1.0.0) libcurl/7.11.1
OpenSSL/0.9.7d ipv6 zlib/1.1.4
 Host: 63.71.228.72:21
 Pragma: no-cache
 Accept: */*

 * Empty reply from server
 * Connection #0 left intact
 curl: (52) Empty reply from server
 * Closing connection #0

 Can anybody help me on this.
 Thanks in advance for your help.

Thanks

Sagar S

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin_at_patni.com and delete this mail.
_____________________________________________________________________
Received on 2005-05-26