Skip to content

Commit

Permalink
Issue fabric#1948 - Removes mentions of scp
Browse files Browse the repository at this point in the history
The documentation mentions scp in a couple of places,
but scp is not working in the current code.
  • Loading branch information
karlcow committed May 25, 2020
1 parent 502ce7b commit 37f3f19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fabric/transfer.py
@@ -1,5 +1,5 @@
"""
File transfer via SFTP and/or SCP.
File transfer via SFTP.
"""

import os
Expand Down Expand Up @@ -64,7 +64,7 @@ def get(self, remote, local=None, preserve_mode=True):
**If a string is given**, it should be a path to a local directory
or file and is subject to similar behavior as that seen by common
Unix utilities or OpenSSH's ``sftp`` or ``scp`` tools.
Unix utilities or OpenSSH's ``sftp`` tool.
For example, if the local path is a directory, the remote path's
base filename will be added onto it (so ``get('foo/bar/file.txt',
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/getting-started.rst
Expand Up @@ -253,7 +253,7 @@ For example, say you had an archive file you wanted to upload:
>>> print("Uploaded {0.local} to {0.remote}".format(result))
Uploaded /local/myfiles.tgz to /opt/mydata/

These methods typically follow the behavior of ``cp`` and ``scp``/``sftp`` in
These methods typically follow the behavior of ``cp`` and ``sftp`` in
terms of argument evaluation - for example, in the above snippet, we omitted
the filename part of the remote path argument.

Expand Down

0 comments on commit 37f3f19

Please sign in to comment.