Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
transferring_files [2020/09/22 04:49] – fix up peteyboy | transferring_files [2022/10/05 23:00] – [Introduction] added list of privs by level peteyboy |
---|
| |
To transport data between SDF and your local (or any other external) machine, there are various ways. Their availability depends on your member level on SDF (see the [[http://sdf.org/index.cgi?faq?MEMBERS|FAQ, MEMBER section]] for more information), the external system, and their connection. | To transport data between SDF and your local (or any other external) machine, there are various ways. Their availability depends on your member level on SDF (see the [[http://sdf.org/index.cgi?faq?MEMBERS|FAQ, MEMBER section]] for more information), the external system, and their connection. |
| |
| As of this writing, the [[https://sdf.org/?join|SDF Join page]] lists these file transfer capabilities by membership level, most of which are described on this page: |
| |
| * USER (unvalidated): -- |
| * USER (validated): inbound ssh, ftp and sftp connections |
| * ARPA: above, plus outbound telnet, ssh, sftp, ftp, ytalk, irc, snarf, wget |
| * META: above, plus on the metaarray: ssh tunnel/forwarding with alt port & Access to rsync |
| |
| |
===== FTP - File Transfer Protocol ===== | ===== FTP - File Transfer Protocol ===== |
| |
[[http://en.wikipedia.org/wiki/File_Transfer_Protocol|FTP (File Transfer Protocol)]] on SDF is available only for **downloading** public files. This is for security reasons. For upload and download of private files, [[transferring_files#scp_and_sftp_-_secure_copying_and_ftp |scp or sftp must be used.]] \\ Note: ARPA membership allows for up-&download via FTP; however, it is better to use scp or sftp if possible, as FTP is unencrypted, and your passwords also have to travel in the clear. | [[http://en.wikipedia.org/wiki/File_Transfer_Protocol|FTP (File Transfer Protocol)]] on SDF is available only for **downloading** public files. This is for security reasons. For upload and download of private files, [[transferring_files#scp_and_sftp_-_secure_copying_and_ftp |scp or sftp must be used.]] \\ Note: ARPA membership allows for up-& download via FTP; however, it is better to use scp or sftp if possible, as FTP is unencrypted, and your passwords also have to travel in the clear. |
| |
For download, point your FTP program to sdf.org and do anonymous FTP to read data (username "anonymous", password "//yourlogin//@sdf.org", or another of your e-mail addresses). | For download, point your FTP program to sdf.org and do anonymous FTP to read data (username "anonymous", password "//yourlogin//@sdf.org", or another of your e-mail addresses). |
| |
* **scp:** The command itself. | * **scp:** The command itself. |
* **.jpg:** The files you want to transfer. | * ***.jpg:** The files you want to transfer. |
* **me@sdf.org:** Your username @ the server you wish to connect to | * **me@sdf.org:** Your username @ the server you wish to connect to |
* **:/your/remote/home/:** The directory you'd like to upload it. | * **:/your/remote/home/:** The directory you'd like to upload it. |
* | |
Unless you've installed ssh authorization keys, you'll be prompted for your username and password. Afterwhich, you should have output similar to this: | Unless you've installed ssh authorization keys, you'll be prompted for your username and password. Afterwhich, you should have output similar to this: |
| |
For transferring small amount of text data (scripts, tables, source code snippets), think about copy/paste directly in the terminal! If you are [[http://sdf.org/index.cgi?faq?MEMBERS?01|MetaARPA]], then you can use "screen" and its built-in copy facility to transfer data between different screens. | For transferring small amount of text data (scripts, tables, source code snippets), think about copy/paste directly in the terminal! If you are [[http://sdf.org/index.cgi?faq?MEMBERS?01|MetaARPA]], then you can use "screen" and its built-in copy facility to transfer data between different screens. |
| |
To append text input in the terminal to a file on SDF, you can open the file on SDF in your favourite [[http://sdf.org/index.cgi?faq?BASICS?09|text editor]]. Or simply use the command "cat >>//file//", send the data to the terminal (via the paste function), and finish with a single line containing only ^D (CTRL-D) - to do that in the terminal, hit RETURN, CTRL-D, RETURN; this will close the standard input the "cat" was reading from. | To append text input in the terminal to a file on SDF, you can open the file on SDF in your favourite [[http://sdf.org/index.cgi?faq?BASICS?09|text editor]]. Or simply use the command ''cat >> //file//'', send the data to the terminal (via the paste function), and finish with a single line containing only ''^D'' (CTRL-D) - to do that in the terminal, hit ''RETURN'', ''CTRL-D'', ''RETURN''; this will close the standard input the "cat" was reading from. |
| |
===== E-mail - for small files only ===== | ===== E-mail - for small files only ===== |
**upload:** to get data //to SDF// from your local machine; see //download// | **upload:** to get data //to SDF// from your local machine; see //download// |
| |
Legacy link: $Id: filetransfer.html,v 1.17 2020/01/01 22:27:19 niro Exp $ | Legacy link: http://sdf.org/?tutorials/filetransfer |
| |
| $Id: filetransfer.html,v 1.17 2020/01/01 22:27:19 niro Exp $ |