Re: writing NTFS streams by -o
Date: Tue, 30 Jul 2019 13:31:01 +0200
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
------------------------------------
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?
L.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-07-30