What does
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:
Script error on line 13, column 9: cr expectedmean?
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 all
thanks in advance!GOTO :$left_off
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.. 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:
Thanks for your collaboration in the forum.
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 all
BTW, why is it useful for you using a variable here?GOTO :something
Thanks for your collaboration in the forum.
liked Script FTP? Try our other product Email Parser