cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3438362 ] Curl doesn't FTP empty files

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 18 Jan 2012 14:46:43 -0800

Bugs item #3438362, was opened at 2011-11-15 08:01
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3438362&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ftp
Group: None
>Status: Closed
>Resolution: Later
Priority: 5
Private: No
Submitted By: Mor (pyrocks)
Assigned to: Daniel Stenberg (bagder)
Summary: Curl doesn't FTP empty files

Initial Comment:
Hi,

I have been searching the Curl help, homepage and google but can't find how to force curl copy empty files.
The file exists on the FTP site and I would like it to be created on the local machine, even if it is empty.

is this possible?

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

>Comment By: Daniel Stenberg (bagder)
Date: 2012-01-18 14:46

Message:
Thanks for the report. This is not likely to get fixed in the short term
and therefore this issue has been added to the KNOWN_BUGS document and this
bug entry will be closed. If anyone who reads this wants to work on fixing
the issue, please post your questions/patches to the curl-library mailing
list.

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

Comment By: Mor (pyrocks)
Date: 2011-11-16 23:03

Message:
Thanks for the response.
I was hoping it was already implemented and i'm just missing the right
option.
I would like curl to support this since FTP does copy empty files with GET,
I just tested it), even if not on the short term.

I guess in the meantime I'll have to find a workaround or another tool to
suit my needs?

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

Comment By: Daniel Stenberg (bagder)
Date: 2011-11-16 10:24

Message:
I wouldn't mind having the curl tool support this, but I've never
considered it to be an important feature and I personally have no immediate
plans to work on this.

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

Comment By: Mor (pyrocks)
Date: 2011-11-16 04:25

Message:
First, not sure this is really a bug and sorry if this is the wrong place
to ask, but I could really use curl ftp-ing empty files.
If it is possible - I'd like to know how because I just couldn't find a way
to do it.
If not - is it possible to make such a feature request?

This is the command line i'm using:
curl --user user:password ftp://servername:30562/15-11-2011/COS_Groups.txt
-o "D:\DATA\COS_Groups.txt" --create-dirs --silent --show-error -w
"COS_Groups.txt"

Thanks in advance,
Mor

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3438362&group_id=976
Received on 2012-01-18

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET