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?
I've been a superficial user of the app for a few months and I just started playing with the GETFILESIZE script. I get the following error:

**** GETFILESIZE Error #550: Cannot get remote file size of xpa_db_200901300202.zip.
***** The server said: SIZE not allowed in ASCII mode

***** Stopped


I'm assuming if I change to binary it may work. How can I change from ascii to binary?

Thanks
This way:
Code: Select allSETTYPE(BINARY)