curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: writing NTFS streams by -o

From: Petr Lázňovský via curl-users <curl-users_at_cool.haxx.se>
Date: Tue, 30 Jul 2019 14:31:10 +0200

> But I am saving file _AND_ ntfs_stream_data (see semicolon in my example),
> why zero bytes file is saved when curl report "Received 63528", where the
> received data goes?

If curl doesn't show any error, it opened the file and wrote all the contents
to it without any errors getting returned. If that saved content is then not
where you told it to be, it seems like a problem in your OS?

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

My OS (utilizing NTFS filesystem) support saving both file AND alternative data streams at once in the format: filename:stream.

Curl download data, CREATE file (which dont exist before) with zero bytes size AND (successfully) save given stream. As curl does not display any error, how could I discovery is this is problem my OS? Anyone else is able to store curl downloaded data including added custom stream? What could cause the curl CREATE file, but DO NOT PUT any data into?

https://support.microsoft.com/en-us/help/105763/how-to-use-ntfs-alternate-data-streams

  

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-07-30