Quantcast
Viewing all articles
Browse latest Browse all 1714

ACQUIRE and @ifilesize

Hey @Charles Dye;
I tried using the @ifilesize function from the ACQUIRE plugin, but it returns;
Code:
e:\utils>echo %@ifilesize[https://jpsoft.com/downloads/v28/tcmd.exe]
TCC: (WININET) The URL is invalid

e:\utils>echo %_? %?
0 0

I know the file exists, as my UDF works okay;
Code:
e:\utils>function url*
urlsize=%@word[1,%@execstr[curl --head --insecure --silent %1 | find "Content-Length"]]

e:\utils>echo %@urlsize[https://jpsoft.com/downloads/v28/tcmd.exe]
64562800
...

Read more

Viewing all articles
Browse latest Browse all 1714

Trending Articles