FTP Client Script File Format
A script file is simply an ASCII text file that contains a sequence of FTP (or SFTP) commands.
You can use comments to explain one or more lines of code. For example:
;The following lines connect to the server and change
;the working directories to PREPRESS (client) and
open forum thomasp XOYRCNEL973L9L96O376ONMO770L35L7NMO87PM79
You can also add a comment at the end of a command. For example:
set transfer-disposition unique ;do not overwrite files
mput script is s*.doc ;copy the .DOC files
Note: Semicolons are not supported for comments in scripts supplied to the sftp command line using the -B option. Use the number sign (#) to mark comments in these batch files.