version 1.126, 2019/06/12 11:31:50 |
version 1.127, 2019/06/19 20:12:44 |
|
|
Quit |
Quit |
.Nm sftp . |
.Nm sftp . |
.It Xo Ic get |
.It Xo Ic get |
.Op Fl afPpr |
.Op Fl afpR |
.Ar remote-path |
.Ar remote-path |
.Op Ar local-path |
.Op Ar local-path |
.Xc |
.Xc |
|
|
will be called after the file transfer has completed to flush the file |
will be called after the file transfer has completed to flush the file |
to disk. |
to disk. |
.Pp |
.Pp |
If either the |
If the |
.Fl P |
|
or |
|
.Fl p |
.Fl p |
|
.\" undocumented redundant alias |
|
.\" or |
|
.\" .Fl P |
flag is specified, then full file permissions and access times are |
flag is specified, then full file permissions and access times are |
copied too. |
copied too. |
.Pp |
.Pp |
If the |
If the |
.Fl r |
.Fl R |
|
.\" undocumented redundant alias |
|
.\" or |
|
.\" .Fl r |
flag is specified then directories will be copied recursively. |
flag is specified then directories will be copied recursively. |
Note that |
Note that |
.Nm |
.Nm |
|
|
.It Ic progress |
.It Ic progress |
Toggle display of progress meter. |
Toggle display of progress meter. |
.It Xo Ic put |
.It Xo Ic put |
.Op Fl afPpr |
.Op Fl afpR |
.Ar local-path |
.Ar local-path |
.Op Ar remote-path |
.Op Ar remote-path |
.Xc |
.Xc |
|
|
Note that this is only supported by servers that implement |
Note that this is only supported by servers that implement |
the "fsync@openssh.com" extension. |
the "fsync@openssh.com" extension. |
.Pp |
.Pp |
If either the |
If the |
.Fl P |
|
or |
|
.Fl p |
.Fl p |
|
.\" undocumented redundant alias |
|
.\" or |
|
.\" .Fl P |
flag is specified, then full file permissions and access times are |
flag is specified, then full file permissions and access times are |
copied too. |
copied too. |
.Pp |
.Pp |
If the |
If the |
.Fl r |
.Fl R |
|
.\" undocumented redundant alias |
|
.\" or |
|
.\" .Fl r |
flag is specified then directories will be copied recursively. |
flag is specified then directories will be copied recursively. |
Note that |
Note that |
.Nm |
.Nm |
|
|
Quit |
Quit |
.Nm sftp . |
.Nm sftp . |
.It Xo Ic reget |
.It Xo Ic reget |
.Op Fl Ppr |
.Op Fl fpR |
.Ar remote-path |
.Ar remote-path |
.Op Ar local-path |
.Op Ar local-path |
.Xc |
.Xc |
|
|
.Fl a |
.Fl a |
flag set. |
flag set. |
.It Xo Ic reput |
.It Xo Ic reput |
.Op Fl Ppr |
.Op Fl fpR |
.Op Ar local-path |
.Ar local-path |
.Ar remote-path |
.Op Ar remote-path |
.Xc |
.Xc |
Resume upload of |
Resume upload of |
.Op Ar local-path . |
.Ar local-path . |
Equivalent to |
Equivalent to |
.Ic put |
.Ic put |
with the |
with the |