Changing the name of a directory on the server
•
Creating or deleting a directory
•
To work with the SFTP directories:
To do...
1.
Enter SFTP client view.
2.
Change the working directory
of the remote SFTP server.
3.
Return to the upper-level
directory.
4.
Display the current working
directory of the remote SFTP
server.
5.
Display files under a
directory.
6.
Change the name of a
directory on the SFTP server.
7.
Create a new directory on the
remote SFTP server.
8.
Delete one or more directories
from the SFTP server.
Working with SFTP files
SFTP file operations include the following:
Changing the name of a file
•
Downloading a file
•
Uploading a file
•
Displaying a list of the files
•
Deleting a file
•
To work with SFTP files:
To do...
1.
Enter SFTP client view.
2.
Change the name of a file on
the SFTP server.
3.
Download a file from the
remote server and save it
locally.
4.
Upload a local file to the
remote SFTP server.
Use the command...
For more information, see
"Establishing a connection to the
SFTP
server."
cd [ remote-path ]
cdup
pwd
dir [ -a | -l ] [ remote-path ]
ls [ -a | -l ] [ remote-path ]
rename oldname newname
mkdir remote-path
rmdir remote-path&<1-10>
Use the command...
For more information, see
"Establishing a connection to the
SFTP
server."
rename old-name new-name
get remote-file [ local-file ]
put local-file [ remote-file ]
192
Remarks
Required.
Execute the command in user
view.
Optional.
Optional.
Optional.
Optional.
The dir command functions as the
ls command.
Optional.
Optional.
Optional.
Remarks
Required.
Execute the command in user
view.
Optional.
Optional.
Optional.