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 <>
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.


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?


Received on 2019-07-30