Supported FTP commands

NetStorage fully supports these FTP commands.

Command Description
Access Control Commands
cdup Change to Parent Directory—Change to current directory’s parent directory
cwd Change Working Directory—Change to a different remote directory
pass Password—Specify a user password (the USER command must be used first)
quit/bye Logout—End the session
user User Name—Specify the user
Transfer Parameter Commands
pasv Passive—Enter or exit passive mode
port Data Port—Designate the data connection port
type Representation Type—Specify the type of transfer:
  • A = ASCII (N = Non-print, T = Telnet format effectors, C = Carriage Control (ASA))

  • E=EBCDIC (N = Non-print, T = Telnet format effectors, C = Carriage Control (ASA))

  • I=Image

  • L <byte size> = Local byte Byte size

FTP Service Commands
abor Abort—Cancel the preceding service command
dele Delete—Delete the designated file
help Help—Display help information
list List—Display the contents of a directory or information about a file
mkdir Make Directory—Create a new directory
nlst Name List—Display the contents of a directory or send them to a local file
noop Noop—Ask the server to reply with an OK message
put Upload a File—Allows you to upload a file to the current directory. You can input the complete path and filename to the target file along with this command, or you can enter it standalone. With the latter, you will be prompted with a ‘Local file” prompt, at which you input the complete path to the desired file.
pwd Print Working Directory—Display the path of the current directory
rmd Remove Directory—Delete an existing directory
rest Restart—Restart copying the file at the specified point (must be followed by an FTP service command for download only; NetStorage does not yet support this command for upload)
Note: YOU CAN RESTART A TRANSFER ( REST) ONLY BEFORE A FILE RETRIEVAL ( RETR). IF YOU RESTART A TRANSFER PRIOR TO A FILE STORE ( STOR), THE STORE WILL ERROR.
retr Retrieve—Copy a file from the server to the designated location
rnfr Rename From—Designate an existing file to be renamed (must be followed by the RNTO command)
rnto Rename To—Designate the new path and name of the file specified with the RNFR command
site Site Parameters—Execute a command particular to the server in question. (See NetStorage FTP Extensions)
stat Status—Display a server status response
stor Store—Store a file on the server, replacing an existing file of the same name, or creating a new file if one does not exist
stou Store Unique—Store a file in the current directory with a unique name
syst System—Display the server’s operating system