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: Ray Satiro via curl-users <curl-users_at_cool.haxx.se>
Date: Mon, 29 Jul 2019 00:03:39 -0400

On 7/27/2019 4:11 PM, Petr L??z??ovsk?? via curl-users wrote:
> Trying to save downloaded file on Windows 7 including additional data into NTFS stream by following way:
>
> curl -o "file.ext:ntfs_stream_text" "%url%"
>
> Curl display: Total 63528 received 63528
>
>
> ntfs stream data save successfully, file created but have zero size.
>
> What am I doing wrong?
>
> curl 7.65.3

The file size shown by Windows does not include the size of the
alternate data streams, you'll have to use a streams utility [1] to see
that information.

[1]: https://www.nirsoft.net/utils/alternate_data_streams.html

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