简体   繁体   中英

How to use the local file in curl instead of remote file URL in Linux

Can someone help me here, I have the command as below, But instead of downloading the file from remote every time I wanted to save to local and access ,How I can achieve this

sudo ./perform.sh https://someurl/util.zip serverhost:9998 serverhost2

But I have downloaded the file in data folder and trying to execute the command as but its not working , Can you please help me

sudo ./perform.sh 'util.zip' serverhost:9998 serverhost2

使用file:///path/to/file/test.tar.gz

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM