- Aug
- 2,294
- 111
Hey @Charles Dye;
I tried using the @ifilesize function from the ACQUIRE plugin, but it returns;
I know the file exists, as my UDF works okay;
Joe
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
Joe
Code:
_x64: 1
_admin: 1
_elevated: 1
TCC 28.00.12 x64 Windows 10 [Version 10.0.19043.1110]
Processor Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz 2.60 GHz (2 processors)
Installed RAM 128 GB
Product ID 00330-80000-00000-AA032
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display
Edition Windows 10 Pro
Version 21H1
Installed on 2021-01-16
OS build 19043.1110
Experience Windows Feature Experience Pack 120.2212.3530.0