cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: need help with ftp options

From: Steven Shourds <srs_at_perfectionsoftware.com>
Date: Mon, 4 Aug 2003 19:54:37 -0400

> On Mon, 4 Aug 2003, Steven R. Shourds wrote:
>
> > Ok, so now I want to send a file in and they want me to do the
following.
> >
> > PUT (local-file-name) %MISGTEST%%%b
>
> Hm. Are you sure that the client is supposed to actually use that in the
> protocol?
>
> Many interactive FTP client programs supports 'put' as a command to upload
a
> file to the remote site. 'put' is the command that then translates into a
STOR
> when speaking ftp protocol.

Ah...

>
> This, that command is the same as uploading "(local-file-name)" to the
remote
> file name "%MISGTEST%%%b".
>
> You can do that already with curl.

Can you please give an example: here is my curl command and it gives an
error.

D:\Program Files\D3\D3Programs>curl -Q "USER 8007667530_at_edi.mema.geis.com
15171"
 -Q "PASS PASSWORD" -T "D:\FILES\TECH\CURL\20030802_164602_3M1_.XML
%MISGTEST%%%
b" -u mema137:mema137KH ftp.translink.geis.com -v --max-time
90 --connect-timeou
t 90 --disable-epsv

curl: Can't open 'D:\FILES\TECH\CURL\20030802_164602_3M1_.XML
%MISGTEST%%%b'!

The %MISGTEST%%%b stuff are server commands I believe that cause the file to
be stored in a particular "mailbox".

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-22