cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-618645 ] Multiple quotes are executed all at once

From: <noreply_at_sourceforge.net>
Date: Fri, 04 Oct 2002 09:41:54 -0700

Bugs item #618645, was opened at 2002-10-04 09:41
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=618645&group_id=976

Category: client module
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: Multiple quotes are executed all at once

Initial Comment:
curl -O ftp://ftp.host.com/file1.txt -Q '-DELE file1.txt' -O ftp://ftp.host.com/file2.txt -Q '-DELE file2.txt'

This command (actually the download of file2.txt) fails because both quotes are executed after retrieving file1.txt.

When curl goes to retrieve file2.txt, it has already been deleted.

Suggestion: provide a new switch (e.g. --delete) to automatically delete files after retrieval.

OR

Execute retrievals and quotes in order as entered on command line.

Happens with:
curl 7.7.2 (powerpc-apple-darwin6.0) libcurl 7.7.2 (OpenSSL 0.9.6b)

and

curl 7.10 (powerpc-apple-darwin6.1) libcurl/7.10 OpenSSL/0.9.6e ipv6 zlib/1.1.3

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=618645&group_id=976

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-10-04