Marxists Internet Archive

How to transfer files to the MIA server


 


Windows: WinSCP
 
  1. Download client
  2. Install client
  3. Set session parameters
    • Host name: ftp.marxists.org
    • User name: <username> (e.g. jbloggs)
    • Password: (leave empty)
    • Port number: 22 (default)
    • Protocol: SFTP
      (You can select SCP, which is an older protocol. SCP is slightly faster than SFTP because it does not wait for packet confirmations, etc. However, unlike SFTP, SCP does not allow transfers to be resumed. So, if you transfer a large file and the connection is interrupted, you will have to start all over again, while SFTP have the capability to resume the transfer.)



  4. Save session as site
    • Click "Save" to save this information in the registry. Either accept the auto-generated session name or give it a different name: <username>@marxists.org (it's just a label)

  5. Login
    • The first time you login, the server's host key must be added to your local cache: Click Yes.



  6. Configuration
    • From the menu, click View->Preferences (or Tools->Preferences if you start out from the Login dialog box)
    • Click on the Transfer node
    • Select Default in the list of "Transfer settings presets" and press the "Edit..." button
    • Untick the "Preserve timestamp" box and press OK.

 


Mac OS X: Cyberduck
 
  1. Obtain client
  2. Install client
  3. Click Open Connection
    • Protocol: SFTP (SSH Secure File Transfer)
    • Server: ftp.marxists.org
    • Port: 22 (default)
    • Username: jbloggs
    • Password: <type your password>
      If you followed the steps correctly, the URL should now be sftp://[email protected]:22/
  4. Connect
    • First time you login, you must accept the host key: Click Always.

 


Linux: GNOME
 
You can connect to the server to browse and view files, exactly as if they were on your own computer. This is a convenient way to download or upload files.
  1. Open the Files application (the default file manager) from the Activities overview, and click Connect to Server in the sidebar.
  2. In the Connect to Server dialog, specify the following URL (uniform resource locator) as the Server Address:

    sftp://ftp.marxists.org

    and click Connect.
    • First time you login, you will get a warning about host authenticity. Click Login In Anyway to add the key to known_hosts.

  3. Enter your username and password for ftp.marxists.org. Once again, click Connect. If everything went as expected, the files on the server will be shown. The server will also be added to the sidebar so you can access it quickly in the future. Next time, you will find the server in the Recent Server list.

 

Linux: gFTP
 
  1. Install client
    • $ aptitude install gftp-common gftp-gtk
  2. Edit configuration file
    • Either modify or insert the following values into ~/.gftp/gftprc:

      default_protocol=SSH2
      host_value=ftp.marxists.org
      port_value=22
      user_value=jbloggs
      preserve_permissions=0
      preserve_time=0
      remotehistory=/www/mia

    Caution: Note that the 'default_protocol' option is crucial; you might otherwise send your password unencrypted across the Internet to the default port tcp/21!
  3. Connect
    • First time you login, you will get a warning about host authenticity. Click Yes to add the key to known_hosts.


    For alternative solutions, see the document How to set up GNU for the M.I.A.

 


 

Page maintained by Janitors