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:53:09 +0200

I can't help wondering if the positioning of the double quotes on that
part of the command is working the way you want.
I might be inclined to write to the file normally, then if curl's rc was ok
follow that with something like
echo Data from %url% > "yourfile:ntfs_stream_text"
based on the fact that a commandline command like the following
works ok for updating an ADS (in fact to 'unblock' a just-downloaded
file)
echo.> "C:\Users\me\Downloads\xyz.jpg:Zone.Identifier:$DATA"

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

Just checked so presence of enclosed doublequotes does not influent problem.

About saving file normally and adding stream then:

that how I am doing it now, just want to know where the problem reside.

L.

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