curl-users
Re: Write cURL output to remote server?
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 10 Nov 2007 00:12:07 -0800
Date: Sat, 10 Nov 2007 00:12:07 -0800
On Fri, Nov 09, 2007 at 09:05:55PM -0800, Seth Long wrote:
> I need to post a daily XML data dump to a vendor's FTP site and our CMS doesn't
> generate new XML output as independent files, just as dynamic output from a URL
> (http://www.site.com/newdata.xml/). Is it possible to run cURL on one machine
> to grab the output from a URL and write that output to a remote server (in this
> case via FTP)?
Sure--just run curl once to download the data into a file, then again to
upload it to the FTP server.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2007-11-10