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?
What does
Script error on line 13, column 9: cr expected
mean?
maybe I'm just not thinking clearly, I just can't figure out what cr is?
I guess the real question is:
Is there a way to pass GOTO a variable? I'd like to mark the point in the script where the connection failure happens and be able to return to it after GOING TO the connection part of the script. I'm getting the error above on a line that looks like:
Code: Select allGOTO :$left_off
thanks in advance!
ScriptFTP syntax error are sometimes a bit cryptical, that is something that should be improved... as the SFTP support, you already found the two ScriptFTP Achilles heels.. :D Here cr stands for carriage return, which is a character used to mark the end of a line in a text file.

Well, it is not possible to use a variable with GOTO. It always expects a label. this means that the only possible way to use GOTO is:
Code: Select allGOTO :something  
BTW, why is it useful for you using a variable here?

Thanks for your collaboration in the forum.