Difference between revisions of "(S)FTP"

From mi-linux
Jump to navigationJump to search
 
(21 intermediate revisions by 7 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!)
You will see a message along the lines of "You are enrolled for Oracle". 
+
* Password: your normal password
 
+
* Remote directory: public_html
Select the Plugins menu, and click "FTP to SFTP Bridge".  Click enable on this menu as the default settings should be okay.
+
* You may also want to check the “keep connection” box, to stop your connection from timing out.
  
Now open PSPad and set up an ftp connection using the server 127.0.0.1
+
https://mi-linux.wlv.ac.uk/wiki-images/pspad-connection.png
  
== Some very good (S)FTP clients by Cara Hughes 0615410 ==
+
== 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:
+
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://www.smartftp.com/ SmartFTP]
Line 74: Line 60:
 
* [http://www.apple.com/downloads/macosx/internet_utilities/cyberduck.html Cyberduck]
 
* [http://www.apple.com/downloads/macosx/internet_utilities/cyberduck.html Cyberduck]
  
FileZilla also works with Macs as well.<br>
+
FileZilla also works with Macs as well. (Although I don't recommend it myself, as I regularly get connection problems with it.)<br>
 
 
== A very good web host (also by Cara) ==
 
 
 
The best way to practise the web development skills you learnt is to build a website by yourself. You could make an online web portfolio with your CV and past experiences, etc. You can design it and build it how you like, and you can decide what content goes on it too. Not only will it help you practise, an online portfolio is a great way to show to employers and customers, and give them an idea of who you are and what you do.
 
 
 
A web host is a company that allocates space on its server(s) to customers. Your site is stored on their server and you access it via FTP. Of course, there are lots of web hosts on the web, but my personal favourite is Byethost. I know quite a lot of you are into Open Source and free Linux OS, so if you are looking for a web host I recommend Byethost- it's free.
 
 
 
* [http://byethost.com/ Byethost]
 
 
 
== 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?.
+
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 13: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