summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authordjm <djm>2001-03-07 23:08:49 +0000
committerdjm <djm>2001-03-07 23:08:49 +0000
commitc40815eca687aab52edab93e09fce1b6aa7a487d (patch)
tree01041c97bde28cfaeff17a9b56bc416ef26749ba /sftp.1
parent9b3071a9cb1ebd8f55ce54acba8c9d3c5c6b9e6d (diff)
downloadopenssh-c40815eca687aab52edab93e09fce1b6aa7a487d.tar.gz
- OpenBSD CVS Sync
- djm@cvs.openbsd.org 2001/03/07 10:11:23 [sftp-client.c sftp-client.h sftp-int.c sftp-server.c sftp.1 sftp.c sftp.h] Support for new draft (draft-ietf-secsh-filexfer-01). New symlink handling functions and small protocol change.
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.118
1 files changed, 14 insertions, 4 deletions
diff --git a/sftp.1 b/sftp.1
index 7792283e..826a0ddf 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp.1,v 1.11 2001/03/06 15:10:42 deraadt Exp $
+.\" $OpenBSD: sftp.1,v 1.12 2001/03/07 10:11:23 djm Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
@@ -58,7 +58,7 @@ instead of
Since it lacks user interaction it should be used in conjuction with a
non-interactive authentication. Sftp will abort if any of the following
commands fail:
-.Pa get, put, rename, rm, mkdir, chdir, lchdir
+.Pa get, put, rename, ln, rm, mkdir, chdir, lchdir
and
.Pa lmkdir.
.It Fl C
@@ -131,6 +131,11 @@ is not specified.
.It Ic lmkdir Ar path
Create local directory specified by
.Ar path .
+.It Ic ln Ar oldpath Ar newpath
+Create a symbolic link from
+.Ar oldpath
+to
+.Ar newpath .
.It Ic lpwd
Print local working directory.
.It Ic ls Op Ar path
@@ -152,8 +157,8 @@ Create remote directory specified by
.Xc
Upload
.Ar local-path
-and store it on the remote machine. If the remote path name is not specified,
-it is given the same name it has on the local machine. If the
+and store it on the remote machine. If the remote path name is not
+specified, it is given the same name it has on the local machine. If the
.Fl P
flag is specified, then the file's full permission and access time are
copied too.
@@ -172,6 +177,11 @@ Remove remote directory specified by
.It Ic rm Ar path
Delete remote file specified by
.Ar path .
+.It Ic symlink Ar oldpath Ar newpath
+Create a symbolic link from
+.Ar oldpath
+to
+.Ar newpath .
.It Ic ! Ar command
Execute
.Ar command