curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: A question on curl

From: dev_user <dev_at_cor0.com>
Date: Fri, 27 Jan 2017 14:40:06 +0000

On 01/27/2017 02:12 PM, Alessandro Zappa (UBISS) wrote:
> Dear all,
>
> I am using curl 7.23.1 (sparc-sun-solaris2.10).
>
>
>
> 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?
>
>
>
> Thank you in advance for tha attention.

If you want you can set your own TMPDIR env variable to anything else.

A good place is /var/tmp or $HOME/tmp or whatever.

Also, with curl, you can direct the output anywhere.

Dennis

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-01-27