Created
September 24, 2017 01:54
-
-
Save BobVul/86271ddaae2733d0f888875dd52c4d45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@test:~# echo blah > foo | |
root@test:~# cat foo | lftp -p 59403 sftp://c14ssh:dummy@1bd2e899-7e4f-49fd-84b4-df5e67b61f56.buffer.c14.io -e "put /dev/stdin -o foo" | |
root@test:~# lftp -p 59403 sftp://c14ssh:dummy@1bd2e899-7e4f-49fd-84b4-df5e67b61f56.buffer.c14.io -e "ls; exit" | |
drwxr-xr-x 1 c14ssh root 6 Sep 24 01:49 . | |
drwxr-xr-x 1 root root 154 Sep 24 01:44 .. | |
-rw-r--r-- 1 c14ssh c14ssh 5 Sep 24 01:49 foo | |
root@test:~# lftp -p 59403 sftp://c14ssh:dummy@1bd2e899-7e4f-49fd-84b4-df5e67b61f56.buffer.c14.io -e "cat foo; exit" | |
blah | |
5 bytes transferred in 2 seconds (2 B/s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment