curl / Mailing Lists / curl-users / Single Mail

curl-users

R: A question on curl

From: Alessandro Zappa (UBISS) <Alessandro.Zappa_at_ubiss.it>
Date: Fri, 27 Jan 2017 14:42:49 +0000

Thanks for the answer.
I am already using the -o option.
The trouble is that while curl is downloading a file, it uses the /tmp dir to store a a tmp file (it uses name like udeUaGAO ...) and it removes this file at the end of the download process.
You can see them with large file..

thx
az

-----Messaggio originale-----
Da: curl-users [mailto:curl-users-bounces_at_cool.haxx.se] Per conto di Daniel Stenberg
Inviato: venerdì 27 gennaio 2017 15:20
A: the curl tool <curl-users_at_cool.haxx.se>
Oggetto: Re: A question on curl

On Fri, 27 Jan 2017, Alessandro Zappa (UBISS) wrote:

> I am using a sun solaris which has a very limited /tmp file system.
> For several reasins I canno't change the /tmp dimension. When I have
> to download a very large file the /tmp beccomes full (due to tmp file
> created while curl is download). Is there a way to change the TMP
> directory used by curl during yhe download process?

curl doesn't use /tmp on its own. You decide where to store download with the -o option or just shell redirect. Or change directory to your preferred download location and use -O (uppercase o).

-- 
  / daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
--------------------------------------------------------------------------------
"Verificate la corrispondenza del destinatario; in caso contrario 
vogliate notificare questo al mittente e, consci della responsabilita' 
per l'uso indebito, cancellare il messaggio e sue copie / Verify the 
correspondence of the addressee; otherwise, notify that to the sender 
and, conscious of the responsibility for the undue use, destroy the 
message and its copies."
--------------------------------------------------------------------------------
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-27