curl-users
Re: need help with ftp options
Date: Mon, 4 Aug 2003 15:48:39 -0400
> Here are the results from the Swedish jury:
>
> > PASV
> < 227 Entering Passive Mode (204,90,130,189,237,219)
> * About to connect() to ftp.translink.geis.com:60891
> * Connecting to 204.90.130.189 (204.90.130.189) port 60891
> * Connected the data stream with PASV!
> > TYPE I
> < 200 Command Okay.
> > STOR testfile
> < 200 TYPE set to I
> % Total % Received % Xferd Average Speed Time
Curr.
> Dload Upload Total Current Left
Speed
> 100 9 0 0 100 9 0 2 0:00:03 0:00:03 0:00:00
> 2< 150 Opening data connection for transfer.
> * server did not report OK, got 150
> 100 9 0 0 100 9 0 2 0:00:03 0:00:03 0:00:00
0
> * Connection #0 left intact
> curl: (20) server did not report OK, got 150
> * Closing connection #0
>
> --
> Daniel Stenberg -- curl: been grokking URLs since 1998
>
Ok, so now I want to send a file in and they want me to do the following.
PUT (local-file-name) %MISGTEST%%%b
It appears the cURL is using a STOR command. How do we change that to PUT
and then have the parameters to the right of the file name?
Is there anyway to do this?
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-08-04