curl-users
Re: Ratio servers
Date: Mon, 27 Aug 2001 23:18:28 +0200 (MET DST)
On Mon, 27 Aug 2001, Tahin Dániel wrote:
[This reply is CC'ed to the curl mailing list, please direct any follow-ups
to it instead of me privately!]
> My short question is: can I do with curl (with the windows or Linux
> version) to upload a file to a ratio FTP server, and after this is done,
> download an other file, without to close the connect with the remote
> machine. (There are some ratio servers on the web, so when I upload a
> file, then I get credit to download, but only for a short time. So when I
> disconnect from the server, then I lose this credit.)
Short answer: no, you can't.
Long answer:
1. It wouldn't be that hard to add this kind of functionality to the curl
tool. However, I don't think the future of curl is to press every
imaginable feature into one poor single command line tool.
2. The way to make this happen is to use libcurl from a scripting language.
The interfaces for perl, tcl, ruby, python or php all enable the operation
you ask about.
-- Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77 ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`olReceived on 2001-08-27