Difference between revisions of "(S)FTP"

From mi-linux
Jump to navigationJump to search
(Tiddy up)
 
(18 intermediate revisions by 5 users not shown)
Line 3: Line 3:
 
The procedure for uploading files to mi-linux is different depending on whether you are connecting from the university or from home.
 
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:
+
Note: Once uploaded, your files will be accessible here: http://mi-linux.wlv.ac.uk/~1021838/myfile.php
http://mi-linux.wlv.ac.uk/~0123456
 
  
Where 0123456 is your student number.
+
Where:
 +
* '''1021838''' is your student number
 +
* '''myfile.php''' is the name of YOUR file.
  
== From the university ==
+
== Using Filezilla (works from home and university) ==
 
 
You can connect to mi-linux using PSPad from within the university. PSPad is a freeware text editor that is installed in all the labs, and can be found in “All programs / SCIT software / PSPad”.
 
 
 
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
 
* You may also want to check the “keep connection” box, to stop your connection from timing out.
 
 
 
[[Image:Pspadconnection.gif]]
 
 
 
== 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'''.   
 
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'''.   
Line 27: Line 15:
 
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:
 
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 [http://sourceforge.net/project/showfiles.php?group_id=21558// Filezilla] FTP client, or use your preferred application.
+
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.
  
 
2.  Create a new connection using the following settings:
 
2.  Create a new connection using the following settings:
Line 39: Line 27:
 
[[Image:filezilla.gif]]
 
[[Image:filezilla.gif]]
  
=== Connect from home using PSPad - by Jack Turner 0609572 ===
+
== Using PSPad (works from University lab PCs only, not from home or from the uni wifi) ==
You are able to connect to mi-linux using PSPad with the aid of a tunneling program.  [http://www.appgate.com/index/products/mindterm/ Mind Term] is one.
 
  
Run the program by opening the command line (windows) and navigating to the directory you extracted the files to, then entering the following:
+
You can connect to mi-linux using PSPad from within the university. PSPad is a freeware text editor that you can download via AppsAnywhere.
java -jar mindterm.jar
 
  
*You need to have Java installed on your system before-hand.
+
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
Once the software is running, type '''mi-linux.wlv.ac.uk:22''' and press enter.  It will ask you for an alias, just hit enter again, and it will ask you for your username, this being the username you use to log on to the university systems, enter it and press enter.  The same goes for your password, enter it and press enter when prompted.
+
* 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.
  
You will see a message along the lines of "You are enrolled for Oracle".
+
https://mi-linux.wlv.ac.uk/wiki-images/pspad-connection.png
  
Select the Plugins menu, and click "FTP to SFTP Bridge".  Click enable on this menu as the default settings should be okay.
+
== Other (S)FTP clients ==
  
Now open PSPad and set up an ftp connection using the server 127.0.0.1
+
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):
 
 
== Some very good (S)FTP clients by Cara Hughes 0615410 ==
 
 
 
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:
 
  
 
* [http://www.smartftp.com/ SmartFTP]
 
* [http://www.smartftp.com/ SmartFTP]
Line 76: Line 62:
 
FileZilla also works with Macs as well. (Although I don't recommend it myself, as I regularly get connection problems with it.)<br>
 
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>
== Mapping Your MI-Linux Area as a Windows Drive By Simon Watts (0506659) ==
 
 
 
If for some reason you want to work on windows but edit files on your linux storage area, for example working on a website hosted from public_html, and you can't be bothered to keep going to your ftp client and sending the files and waiting for then to send you can download SFTPDrive (http://www.expandrive.com/sftpdrive) and map your linux area as a windows drive. Then when you edit your file that is stored on your linux area in windows and save it you don't need to FTP it over to your linux storage. Useful if you are using an IDE perhaps?.
 

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