- GETTING STARTED
- Server connection
- File Transfer
- Directory operations
- File operations
- Script output
Upload the specified file and store it in the FTP server using a different name.
- file: The file name of the file to be uploaded. This parameter can optionally include a path.
- save_as: The file will be saved under this file name in the FTP server.
- The saved_as parameter must contain no path, only a file name is allowed.
- The file will be saved under the current remote directory. Use CHDIR to change it before calling PUTFILE2.
This command was added in ScriptFTP version 3.3.
# Upload 1234.txt and save in under the name qwerty.txt
# Upload the test.txt which is under the local directory
# C:\test and save in under the name qwerty.txt