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.
Log in to post a comment.