SSH Reference Manual
sftp> help 
Available commands: 
ap local-path [remote-path] Upload local file and append to remote file 
append local-path [remote-path] Upload local file and append to remote file 
ascii [dos|unix|mac] Change transfer mode to ascii and optionally 
 change the remote newline convention 
aslinemode [cut|wrap|none] Cut, wrap or do nothing to long ascii lines 
binary Change the transfer mode to binary 
cd path Change remote directory to 'path' 
chgrp grp path Change group of file 'path' to 'grp' 
chmod mode path  Change permissions of file 'path' to 'mode' 
chown own path Change owner of file 'path' to 'own' 
delete path Delete remote file 
exit Quit sftp 
fc [<num>|<string>] Fix command number <num> or contains <string> 
get remote-path [local-path] Download remote file 
help Display this help text 
h [<cnt>] Display historic commands (all or <cnt> cmnds) 
history [<cnt>]  Display historic commands (all or <cnt> cmnds) 
lap remote-path [local-path] Download remote file and append to local file 
lappend remote-path [local-path] Download remote file and append to local file 
lcd path Change local directory to 'path' 
lls [ls-options [path]] Display local directory listing 
lmkdir path Create local directory 
ln oldpath newpath Symlink remote file 
lpwd Print local working directory 
ls [path] Display remote directory listing 
lumask umask Set local umask to 'umask' 
mkdir path Create remote directory 
progress [on|off|min|?] Toggle display of progress meter (on/off) or set to 
  minimum (value min) or display current setting 
put local-path [remote-path] Upload local file 
pwd Display remote working directory 
quit Quit sftp 
rename oldpath newpath Rename remote file 
rm path Delete remote file 
rmdir path Remove remote directory 
symlink oldpath newpath Symlink remote file 
touch path Touch file 
version Show SFTP version 
? Synonym for help 
sftp> 
•  Picks the SSH2 process $TBA01 to communicate with. 
•  Connects to the remote system with the IP address 10.0.0.201 on port 2222, using the user name "burgt". 
•  Uses the "help" command to show the commands supported by the SFTP client. 
The following command: 
/home/tb: sftposs -S '$tba01' burgt@10.0.0.201:a1000 testget 
Connecting to 10.0.0.201... 
Fetching /home/burgt/a1000 to testget 
/home/burgt/a1000  
100% 990 0.0KB/s 00:01 
/home/tb: 
•  Picks the SSH2 process $TBA01 to communicate with. 
•  Connects to the remote system with the IP address 10.0.0.201 on port 2222, using the user name "burgt". 
•  Downloads the file "a1000" and places it locally under the file "testget". 
Client Mode Owner Policy LOGINNAME The commands APPEND/LAPPEND do not support structured files. 
230 • SSH and SFTP Client Reference  HP NonStop SSH Reference Manual 










