put
- Last Updated: June 3, 2026
- 1 minute read
- WS_FTP Pro
- Version 13.0
- Documentation
put
Syntax: PUT (sourcefile) [destloc] [modeswitch]
What it does: Uploads sourcefile to a site, where:
Sourcefile is the name of the file uploaded to the site. Wild cards are not allowed in the source file specification.
Destloc is the name of the uploaded file on the site. If destloc is not specified, the name of the source file will be used on the site.
- The transfer mode is indicated in modeswitch (0=ASCII, 1=binary).
Note: