curl-users
Getting filename from libcurl
Date: Thu, 10 Aug 2006 11:33:26 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi group,
I want to obtain the actual download filename when I use libcurl.
Some links may just be the host (e.g. www.myhost.com), others may
be a subdirectory (www.myhost.com/directory), still others may be
the output of a script (e.g. www.myhost.com/script.php?file).
I want the actual filename that is downloaded whether it is
"index.html" or "setup.exe" regardless of whether it is in the url
or not.
Can libcurl return the filename to me in cases like these?
Thanks,
SH
-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5
wkYEARECAAYFAkTbUccACgkQRBFe1uc9INpjrACgjYgujwNp5YyQN+JJpvoqVeEAuDgA
n22Gzxu8TlfNmttD0HCCM2/k5/0L
=jhi8
-----END PGP SIGNATURE-----
Received on 2006-08-10