Difference between revisions of "(S)FTP"

From mi-linux
Jump to navigationJump to search
 
(59 intermediate revisions by 12 users not shown)
Line 1: Line 1:
== How to transfer files to/from mi-linux (AKA (S)FTP) ==
+
== How to transfer files to/from mi-linux from a Windows based computer ==
  
== FTP or SFTP ==
+
The procedure for uploading files to mi-linux is different depending on whether you are connecting from the university or from home.
  
From within the university (any campus based computer) it is possible to make an FTP connection to mi-linux using FTP client software, however from the rest of the Internet, Secure FTP (SFTP) connections are required. It should be noted that secure FTP connections should always be used over non-secure FTP connections, as SFTP encrypts communication between client and server.
+
Note: Once uploaded, your files will be accessible here: http://mi-linux.wlv.ac.uk/~1021838/myfile.php
  
'''On Microsoft operating systems'''
+
Where:
 +
* '''1021838''' is your student number
 +
* '''myfile.php''' is the name of YOUR file.
  
Whilst Microsoft has built in support for FTP connections, it does not natively support SFTP communication.  Amongst the many FTP client softwares available for MS, [http://filezilla.sourceforge.net/ FileZilla] is a useful (S)FTP client that is freely available.
+
== Using Filezilla (works from home and university) ==
  
'''On Linux operating systems'''
+
From within the university (any campus based computer) it is possible to make an FTP connection to mi-linux using FTP client software, however from the rest of the Internet, '''Secure FTP (SFTP) connections are required'''
  
Support for secure and non-secure file transfer (S/FTP) is usually built in.
+
You may still choose to write your code in PSPad, but you will have to save your files locally, and then upload them separately, using a dedicated SFTP client application:
  
== HOW TO ==
+
1.  Download and install the freely available [http://sourceforge.net/project/showfiles.php?group_id=21558// Filezilla] FTP client, or use your preferred application. '''Note''': no need to do this in University Labs, as it is already installed.
  
1. Connect to mi-linux.wlv.ac.uk using your SFTP client
+
2. Create a new connection using the following settings:
  
2. Drag and drop (if GUI) your files/directories
+
* Host: mi-linux.wlv.ac.uk
 +
* Servertype: SFTP - SSH File Transfer Protocol
 +
* Logontype: Normal
 +
* Username:  (Enter your student number here)
 +
* Password: (Enter your IT password here)
  
3. Make sure to drag them to the public_html folder if you want them to be WWW served
+
[[Image:filezilla.gif]]
  
4. If public_html, check/set file/directory permissions to make world-readable (see [[WWW]] publishing for more details)
+
== Using PSPad (works from University lab PCs only, not from home or from the uni wifi) ==
 +
 
 +
You can connect to mi-linux using PSPad from within the university. PSPad is a freeware text editor that you can download via AppsAnywhere.
 +
 
 +
Simply click on the FTP tab on the left of the screen, and create a new connection with the following details:
 +
* Connection name: any name you like
 +
* Server: mi-linux.wlv.ac.uk
 +
* User name: your student number (or staff number if you are staff!)
 +
* Password: your normal password
 +
* Remote directory: public_html
 +
* You may also want to check the “keep connection” box, to stop your connection from timing out.
 +
 
 +
https://mi-linux.wlv.ac.uk/wiki-images/pspad-connection.png
 +
 
 +
== Other (S)FTP clients ==
 +
 
 +
I have downloaded and tested a variety of FTP clients throughout my assignment. It is really your choice, but these are some of my favourites (by Cara Hughes 0615410):
 +
 
 +
* [http://www.smartftp.com/ SmartFTP]
 +
* [http://filezilla.sourceforge.net/ FileZilla]
 +
* [http://www.globalscape.com/cuteftp/ CuteFTP]
 +
* [https://addons.mozilla.org/en-US/firefox/addon/684 FireFTP] - FireFTP is a free, secure, cross-platform FTP client for Mozilla Firefox which provides easy and intuitive access to FTP servers.
 +
 
 +
For those who use Linux:
 +
 
 +
* [http://gftp.seul.org/ gFTP]<br>
 +
 
 +
'''Edited by Nick Davies'''<br>
 +
 
 +
A good one I have used for a while, and still use now for '''Mac''' users:
 +
 
 +
* [http://www.apple.com/downloads/macosx/internet_utilities/cyberduck.html Cyberduck]
 +
 
 +
FileZilla also works with Macs as well. (Although I don't recommend it myself, as I regularly get connection problems with it.)<br>
 +
 
 +
If you plan on using FTP a lot for more than just the course, and don't mind shelling out a bit, [http://www.fivedetails.com/flow/ Flow] is a brilliant FTP client for '''Macs''' with the ability to create "droplets" which will upload files you drop onto it without even loading the main application. Unfortunately, it's $30, so it's not one for just the occasional FTP user. - Peter Shillito<br>

Latest revision as of 14:30, 11 February 2018

How to transfer files to/from mi-linux from a Windows based computer

The procedure for uploading files to mi-linux is different depending on whether you are connecting from the university or from home.

Note: Once uploaded, your files will be accessible here: http://mi-linux.wlv.ac.uk/~1021838/myfile.php

Where:

  • 1021838 is your student number
  • myfile.php is the name of YOUR file.

Using Filezilla (works from home and university)

From within the university (any campus based computer) it is possible to make an FTP connection to mi-linux using FTP client software, however from the rest of the Internet, Secure FTP (SFTP) connections are required.

You may still choose to write your code in PSPad, but you will have to save your files locally, and then upload them separately, using a dedicated SFTP client application:

1. Download and install the freely available Filezilla FTP client, or use your preferred application. Note: no need to do this in University Labs, as it is already installed.

2. Create a new connection using the following settings:

  • Host: mi-linux.wlv.ac.uk
  • Servertype: SFTP - SSH File Transfer Protocol
  • Logontype: Normal
  • Username: (Enter your student number here)
  • Password: (Enter your IT password here)

Filezilla.gif

Using PSPad (works from University lab PCs only, not from home or from the uni wifi)

You can connect to mi-linux using PSPad from within the university. PSPad is a freeware text editor that you can download via AppsAnywhere.

Simply click on the FTP tab on the left of the screen, and create a new connection with the following details:

  • Connection name: any name you like
  • Server: mi-linux.wlv.ac.uk
  • User name: your student number (or staff number if you are staff!)
  • Password: your normal password
  • Remote directory: public_html
  • You may also want to check the “keep connection” box, to stop your connection from timing out.

pspad-connection.png

Other (S)FTP clients

I have downloaded and tested a variety of FTP clients throughout my assignment. It is really your choice, but these are some of my favourites (by Cara Hughes 0615410):

  • SmartFTP
  • FileZilla
  • CuteFTP
  • FireFTP - FireFTP is a free, secure, cross-platform FTP client for Mozilla Firefox which provides easy and intuitive access to FTP servers.

For those who use Linux:

Edited by Nick Davies

A good one I have used for a while, and still use now for Mac users:

FileZilla also works with Macs as well. (Although I don't recommend it myself, as I regularly get connection problems with it.)

If you plan on using FTP a lot for more than just the course, and don't mind shelling out a bit, Flow is a brilliant FTP client for Macs with the ability to create "droplets" which will upload files you drop onto it without even loading the main application. Unfortunately, it's $30, so it's not one for just the occasional FTP user. - Peter Shillito