cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: need help with ftp options

From: Steven R. Shourds <srs_at_perfectionsoftware.com>
Date: Wed, 30 Jul 2003 13:50:05 -0400

>
> Yes, I believe you're right. I *think* Stephen might be able to do it like
> this:
>
> curl -Q "USER xyz_at_123.com" -Q "PASS secret" \
> -T (local-file-name) -u xyzuser:xyzpassword ftp://ftp.xyz.com
>
> (and if this doesn't work Stephen, use -v again and show us why it fails)
>
> --
> Daniel Stenberg -- curl: been grokking URLs since 1998
>
>

Here is what I did.

F:\Tech\cURL>curl -Q "user \"8007667530_at_xyz.com 15171\"" -Q "pass PASS
WORD" -T testit.txt -u abc:abcpassword ftp.xyz.com -v
* About to connect() to ftp.xyz.com:21
* Connected to ftp.xyz.com (x.x.x.x) port 21
< 220-
< ********************************* WARNING *****************************
< This system is for use by authorized users only.
< ***********************************************************************
78 ***********************************************************************
< 220 Proxy first requires authentication
> USER abc
< 331 Enter authentication password for mema137
> PASS abcpassword
< 230 User authenticated to proxy
* We have successfully logged in
> PWD
< 500 must be connected to remote server
> user "8007667530_at_xyz.com 15171"
< 500-You are not permitted access to that system/service.
< 500
* QUOT string not accepted: user "8007667530_at_xyz.com 15171"
curl: (21) QUOT string not accepted: user "8007667530_at_xyz.com 15171"
* Closing connection #0

Getting a new error message. It appears the PWD is the problem. Is there a
way to suppress that?

Steve

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-07-30