NAME
psftp - Perl secure file transfer client
SYNOPSIS
psftp [-v] [-C] hostname
DESCRIPTION
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.
OPTIONS
psftp supports the following options:
INTERACTIVE COMMANDS
In interactive mode, psftp understands a subset of the commands supported by sftp. Commands are case insensitive.
cd path
Change remote directory to path.
exit / quit
Quit sftp.
get remote-path [local-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.
h / ?
Display help screen.
ls [path]
Display remote directory listing of either path or current working remote directory if path is unspecified.
mkdir path
Create remote directory specified by path.
put local-path remote-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.
pwd
Display remote working directory.
rename oldpath newpath
Rename remote file from oldpath to newpath.
rmdir path
Remove remote directory specified by path.
rm path
Remove remote file specified by path.
version
Show SFTP version.
AUTHOR & COPYRIGHTS
Please see the Net::SFTP::Foreign manpage for author, copyright, and license information.