curl-users
RE: need help with ftp options
Date: Mon, 11 Aug 2003 15:21:48 -0400
Check the manual (curl.exe --manual). Look for the -P/--ftpport section.
It says that you can use either:
o IP address (you'd use "10.1.1.4"), or
o hostname (you'd use "localhost" !! NOTE : NOT "local"), or
o "-" (to tell curl to use the default value)
I'd say in your case (since it needs to run on multiple machines),
that you should try using "-P -".
- Kevin
-----Original Message-----
From: Steven Shourds
Sent: Monday, August 11, 2003 2:37 PM
I do have one more question though. I am getting an error message when using
the -P option. I am on Win32 ...
curl -Q "USER 8007667530_at_edi.mema.geis.com 15171" -Q "PASS PASSWORD" -T
"D:\FILES\TECH\CURL\20030802_164602_3M1_.XML" -u mema137:mema137KH -v
--max-time 90 --connect-timeout 90 --disable-epsv
"ftp://ftp.translink.geis.com/%%MISGTEST%%*BINARY%%%%b" -P local
* gethostbyname(2) failed for local
* Telling server to connect to 10.1.1.4:4887
> PORT 10,1,1,4,19,23
-------------------------------------------------------
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-11