Hello,
I want to download a file from ftp with a file size bigger than 150kb.
If the file size is lower than 150kb, i don't want to download.
I've tried to use the command "GETFILESIZE", but there is only a way to compare two sizes with "=".
How is it possible to use "<" or ">"?
In the documentation, there is only "=" used:
https://www.scriptftp.com/d/ftp-file-commands/getfilesize
Does anyone has a solution?
Regards
Didi
I want to download a file from ftp with a file size bigger than 150kb.
If the file size is lower than 150kb, i don't want to download.
I've tried to use the command "GETFILESIZE", but there is only a way to compare two sizes with "=".
How is it possible to use "<" or ">"?
In the documentation, there is only "=" used:
https://www.scriptftp.com/d/ftp-file-commands/getfilesize
Does anyone has a solution?
Regards
Didi
https://www.scriptftp.com/d/ftp-script-for-windows-guides/operators
Comparison operators
• < Less than.
• > Greater than.
• <= Less or equal than.
• >= Greater or equal than.
• == Equal.
• != Not equal.
Perfect - that works
Thx Wandrey
liked Script FTP? Try our other product Email Parser