There is a discrepancy between the Script Editor and the Script Engine: editor recognizes and highlights the FTPRename keyword where the engine expects FTPRenameFile. Please change you script to use FTPRenameFile instead of FTPRename. Both the editor and the documentation will be fixed in the next maintanence version to reflect the correct syntax. : Hello, : I have versions 1.6.3 and 2.0.1, and in both cases, the function FTPRename : does not work. I get an error when checking the syntax that there is a bad : number of arguments. If I do run the script anyway, it just hangs... : Enclosed is the script I used to test : Dim exists, Boolean : FTPFileExists("ftp.mycompany.com", "myid", : "mypassword", "file.zip",exists ) : FTPRename("ftp.mycompany.com", "myid", : "mypassword", "file.zip", "file1.zip" ) : Dim exists1, Boolean : FTPFileExists("ftp.mycompany.com", "myid", : "mypassword", "file1.zip",exists1 ) : Exit : Thanks, : -Bob
|