User Tools

Site Tools


transferring_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
transferring_files [2020/09/22 04:49] – fix up peteyboytransferring_files [2022/12/05 05:58] (current) hc9
Line 2: Line 2:
  
 This tutorial discusses various ways to get data from and to a local (external) machine into and out of SDF. This tutorial discusses various ways to get data from and to a local (external) machine into and out of SDF.
- 
  
 ===== Introduction ===== ===== Introduction =====
  
 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:
 +^  File Transfer Options by Membership Level  ^^
 +^          Membership                    Options          ^
 +|             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.+[[wp>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).
Line 25: Line 32:
  
   * **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:
  
Line 52: Line 59:
 ===== Gopher and HTTP - using the internet for download ===== ===== Gopher and HTTP - using the internet for download =====
  
-To get data out of SDF on a local machine, you can of course publish them on your gopher- or web-site. Please check the [[http://sdf.org/index.cgi?faq?GOPHER|FAQ, GOPHER section]] and the [[http://sdf.org/index.cgi?tutorials/building_a_website| website tutorial]] for information how to set up these sites.+To get data out of SDF on a local machine, you can of course publish them on your gopher- or web-site. Please check [[gopher_site_setup_and_hosting_features|Gopher]], the [[http://sdf.org/index.cgi?faq?GOPHER|FAQ, GOPHER section]] and [[building_a_website_on_sdf|Building a website on SDF]] for information how to set up these sites.
  
 Please note that HTTP traffic is bandwidth limited depending on your membership level; if you go over the quota, your site will be temporarily blocked! Please note that HTTP traffic is bandwidth limited depending on your membership level; if you go over the quota, your site will be temporarily blocked!
Line 62: Line 69:
 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 =====
Line 69: Line 76:
  
 This may not work for large attachments, as the e-mail system (everywhere!) was not intended for file transfer. If you have to regularly transfer large files, you should seriously consider becoming ARPA! This may not work for large attachments, as the e-mail system (everywhere!) was not intended for file transfer. If you have to regularly transfer large files, you should seriously consider becoming ARPA!
- 
  
 ===== Modem transfers ===== ===== Modem transfers =====
Line 89: Line 95:
  
  
-**terminal:** The equipment used to connect to a computer in text mode (for a more accurate definition see the corresponding [[http://en.wikipedia.org/wiki/Computer_terminal|Wikipedia entry]]), or in a narrower context the window which gives access to a SDF in text mode. If you are using Windows, it may be a telnet window (or better use PuTTY for secure access via ssh - that's even possible without being ARPA), or on a Linux machine an xterm window.+**terminal:** The equipment used to connect to a computer in text mode (for a more accurate definition see the corresponding [[wp>Computer_terminal|Wikipedia entry]]), or in a narrower context the window which gives access to a SDF in text mode. If you are using Windows, it may be a telnet window (or better use PuTTY for secure access via ssh - that's even possible without being ARPA), or on a Linux machine an xterm window.
  
 **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 $ 
transferring_files.1600750140.txt.gz · Last modified: 2020/09/22 04:49 by peteyboy