#14 New --getremotesize option

open
nobody
None
5
2007-09-09
2007-09-09
fcassia-gm
No

I'd love to have an option in WPUT dubbed --getremotesize
that would just check if the file provided exists and if so, return just the file size as its output.

This is a very useful feature, that I've been wishing for to be included into WGET but without luck. I think it would be of help if added in WPUT , so it could be used from bash scripts for easy checking of remote file sizes and then using IF/THEN to perform the needed uploads with the same WPUT program later on the bash script code.

Thanks!
FC

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks