{ This script demonstrates how to upload a file to the root directory on FTP server. You may need to change: 1) The connection information 2) Local file path } Begin {----- Script starts here, please put your codes below this line -----} if OpenHost('/host=localhost /anonymous') then begin UploadFile('/local= /ftpdir=/') CloseHost; end else begin WriteLog('Connection failed, error message: ' + ErrorText); end; {----- End of the script, please put your codes above this line -----} End. ***<<<[[[ INTERNAL INFORMATION, DO NOT CHANGE!!! ]]]>>>*** ReadOnly=False Comment=This script demonstrates how to upload a file to the root directory on <&NL>FTP server.<&NL>You may need to change:<&NL>1) The connection information<&NL>2) Local file path<&NL> ScriptID=D81515C457D14011B7843E85DDE56466