ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Need help writing a script? Have any question about ScriptFTP?
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
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 :D
Thx Wandrey