mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Update docs on what is needed for the transfer kitten
This commit is contained in:
parent
15978c9c60
commit
34dfd1881f
2 changed files with 9 additions and 6 deletions
|
|
@ -20,12 +20,15 @@ to transfer only changes to large files.
|
|||
.. seealso:: See the :doc:`remote_file` kitten
|
||||
|
||||
.. note::
|
||||
This kitten (which practically means kitty) must be installed on the other
|
||||
machine as well. If that is not possible you can use the :doc:`remote_file`
|
||||
kitten instead. Or write your own script to use the underlying
|
||||
:doc:`file transfer protocol </file-transfer-protocol>`.
|
||||
This kitten must be installed on the other machine. The easiest way to do so
|
||||
is to ssh into it using the :doc:`ssh kitten </kittens/ssh>`. Or just
|
||||
download the kitten binary yourself from the `kitty releases page
|
||||
<https://github.com/kovidgoyal/kitty/releases>`__ and put it somewhere in
|
||||
PATH. If that is not possible you can use the :doc:`remote_file` kitten
|
||||
instead. Or write your own script to use the underlying :doc:`file transfer
|
||||
protocol </file-transfer-protocol>`.
|
||||
|
||||
.. versionadded:: 0.24.0
|
||||
.. versionadded:: 0.30.0
|
||||
|
||||
|
||||
Basic usage
|
||||
|
|
|
|||
|
|
@ -485,7 +485,7 @@ class TestFileTransmission(BaseTest):
|
|||
def test_transfer_send(self):
|
||||
src = os.path.join(self.tdir, 'src')
|
||||
with open(src, 'wb') as s:
|
||||
s.write(os.urandom(813))
|
||||
s.write(os.urandom(9137))
|
||||
dest = os.path.join(self.tdir, 'dest')
|
||||
with self.run_kitten([src, dest]) as pty:
|
||||
pty.wait_till_child_exits(require_exit_code=0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue