- INTERACTIVE COMMANDS
- AUTHOR & COPYRIGHTS
psftp - Perl secure file transfer client
psftp [-v] [-C] hostname
psftp is an interactive SFTP client written in Perl, using the Net::SFTP::Foreign::Compat libraries. It is very similar in functionality to the sftp program that is part of both OpenSSH and ssh2.
On startup, psftp logs into the specified hostname, then enters an interactive command mode. The supported list of commands is below in INTERACTIVE COMMANDS.
psftp supports the following options:
In interactive mode, psftp understands a subset of the commands supported by sftp. Commands are case insensitive.
Change remote directory to path.
Retrieve the file remote-path and store it in the local machine. If the local path name is not specified, it is given the same leaf name it has on the remote machine. Copies the remote file's full permission and access times, as well.
Display help screen.
Display remote directory listing of either path or current working remote directory if path is unspecified.
Create remote directory specified by path.
Upload the file local-path and store it on the remote machine. Copies the local file's full permission and access times, as well.
Display remote working directory.
Rename remote file from oldpath to newpath.
Remove remote directory specified by path.
Remove remote file specified by path.
Show SFTP version.
Please see the Net::SFTP::Foreign manpage for author, copyright, and license information.