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 have some script lines which are wider than the screen.
Can you split a script line and if so what is the line continuation characer(s) please.
Hi,

It is not possible. You have to use the horizontal scroll bar. However if the long lines are used to assign text to a variable you can do the following:

[scriptftp file="split_text_literal_sentence_example.ftp"]$myvar = "This is a long text string "
$myvar = $myvar."splitted into multiple code sentences "
$myvar = $myvar."and the result is the same as one full line"

# It should print: This is a long text string splitted into multiple code sentences and
# the results is the same as one full line
PRINT($myvar)[/ScriptFTP]