cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: need help with ftp options

From: Roth, Kevin P. <KPRoth_at_MAPLLC.com>
Date: Tue, 5 Aug 2003 07:58:08 -0400

I think you need to place the upload-as filename into the URL.

Something like this:

curl ... -T "D:\...\20030802_164602_3M1_.XML"
  "ftp://ftp.translink.qeis.com/%MISGTEST%%%b"
  ...

You may need to twiddle with the %'s a bit to get them to be
correct in this situation...

Good luck,
- Kevin

-----Original Message-----
From: Steven Shourds [mailto:srs_at_perfectionsoftware.com]
Sent: Monday, August 04, 2003 7:55 PM

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

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-timeout 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".

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