Transferring files between home and school

Notes
  • You can store files on the school computers while at school and transfer them to your home computer when at home.  And vice versa.

  • You can use any of the directories on your school computer to store files, and be able to retrieve them any time.

  • However, if you want to publish your webpages, your webpages MUST be placed into your public_html directory at school, or into any of its subdirectories that you might create.

  • You will need to use a "File Transfer Program" on your home computer to do the transfer.

  • We recommend one of the following free programs: WinSCP (only for Windows) or CyberDuck (for Windows, Mac or Linux).  We don't recommend FileZilla because of some reports of bloatware/malware attached to it by unscrupulous sites.

  • You do not use either of the programs above.  You may use any file tansfer mechanism   that you have and know how to use, or you may use "scp" if you know how, or use github as intermediary storage, if you know about that.

  • Nevertheless, the two programs above make transfers simple and graphical.

  • Here's a quick demo on how to use CyberDuck.

  • Here's how to use WinSCP.
Filenames and URL (webpage address) names:


Suppose that you have a file called fred.html and it displays an image in the file harry.jpg. Let's assume that both files are in the same directory on your computer, and so your command to display the image inside fred.html is:

<img src="harry.jpg">

There's also a link to another webpage called hermione.html, also in the same directory, and so there's the command in fred.html:

<a href="hermione.html">

(Make sure that you're not referring to any other directories in either of those commands).

After uploading these 3 files (fred.html, harry.jpg, hermione.html), you can now get into a browser and ask for:

homer.stuy.edu/~your-id/fred.html
 
or the full address:

http://homer.stuy.edu/~your-id/fred.html


Suppose I've created a subdirectory of public_html called george

The full address would be: /home/support/pbrooks/public_html/george

And if I put the file fred.html into that george directory then its URL would be:

homer.stuy.edu/~pbrooks/george/fred.html