If you are in the sftp> prompt connected to a remote location and cannot recollect what all commands are available and also have tried the man keywords, well you need to make use of ? or help instead,
sftp> ?
Available commands:
bye Quit sftp
cd path Change remote directory to 'path'
chgrp [-h] grp path Change group of file 'path' to 'grp'
chmod [-h] mode path Change permissions of file 'path' to 'mode'
chown [-h] own path Change owner of file 'path' to 'own'
df [-hi] [path] Display statistics for current directory or
filesystem containing 'path'
exit Quit sftp
get [-afpR] remote [local] Download file
help Display this help text
lcd path Change local directory to 'path'
lls [ls-options [path]] Display local directory listing
lmkdir path Create a local directory
ln [-s] oldpath newpath Link remote file (-s for symlink)
lpwd Print local working directory
ls [-1afhlnrSt] [path] Display remote directory listing
lumask umask Set local umask to 'umask'
mkdir path Create a remote directory
progress Toggle display of the progress meter
put [-afpR] local [remote] Upload file
pwd Display remote working directory
quit Quit sftp
reget [-fpR] remote [local] Resume download file
rename oldpath newpath Rename remote file
reput [-fpR] local [remote] Resume upload file
rm path Delete remote file
rmdir path Remove remote directory
symlink oldpath newpath Symlink remote file
version Show SFTP version
!command Execute 'command' in the local shell
! Escape to the local shell
? Synonym for help
As said, you will get the same result if you type help instead of ?
More Posts related to FTP,
- Check help on commands while being on sftp> prompt
- How to connect to SFTP location using Terminal command
- List of 60 useful FTP Client Commands to access server
- 10 FTP SFTP Clients and Alternatives
- How to Copy a remote file to local using SFTP command?
- How to switch between sftp and Terminal shell
- [Solution] SFTP Connection closed File 22 not found
- FileZilla Connection time out Failed to retrieve directory listing
- How to SFTP to port different than 22 (SFTP Custom port)
More Posts:
- Maven BUILD FAILURE: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin - Java
- Copy all .vcf Mobile Contacts files into one .vcf - HowTos
- Steps to Integrate Latest Facebook SDK with your Android Application - Facebook
- How to make Mac Terminal Black - MacOS
- Fix: Jupyter Notebook says Not Trusted - Python
- What is $$ in Bash Shell Script- Special Variable - Bash
- Sublime Text 3 spell check shortcut - Sublime
- Fix: bash: ipconfig: command not found on Linux - Linux