curl-users
Re: problem with CURL
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 15 Apr 2005 10:58:10 +0200 (CEST)
Date: Fri, 15 Apr 2005 10:58:10 +0200 (CEST)
On Fri, 15 Apr 2005 Kaushal.Mehta_at_ril.com wrote:
> I want to automate a process to upload the file to a ftp site via a http
> proxy.
>
> The command i am using is :
>
> curl -x proxy:port -T filename ftp://ftpsite
It is far from sure that you can do this. HTTP proxies are generally made for
HTTP and doing FTP uploads over it may not work the way you think.
> IF I have a folder /test/upload/ and there are 10 files with different
> filenames and this filenames go on changing daily, how do i add this to the
> curl command?
You fetch the list of existing files first and figure out a new with your
script?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-04-15