curl-users
Re: The system cannot find the file specified
Date: Thu, 14 Apr 2005 20:59:07 -0700
On Thu, Apr 14, 2005 at 10:16:51PM -0500, bob.swift_at_lakeviewtech.com wrote:
> I have curl running from XP accessing a Linux tomcat server application. I can
> get curl to drive though a few screens necessary in the application to get to a
> point where the application should produce a zip file. If I were using a
> browser, I would get a download dialog asking me where to put the file that is
> generated. I don't know how to do this using curl. Instead I get "The system
> cannot find the file specified" on the command line. There is nothing in the
> application where the file name would be specified. So how would I specify the
> file location in curl? I am using something like the following command: curl
> --output test1.html <first url> --output test2.html <second url> --output
> test3.html <third url>. The intermediate html files match what I would expect
> to see from a browser. Any help would be appreciated. Thanks.
You'll have to look at the HTTP and HTML you get when a browser does the same
request to be sure. It might be a <META HTTP-EQUIV="refresh" ...> tag in
the HTML of the final page that redirects the browser to the zip file. curl
won't see that because it doesn't parse HTML.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2005-04-15