Training, Open Source computer languages

PerlPHPPythonMySQLhttpd / TomcatTclRubyJavaC and C++LinuxCSS

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
FTP - how to make the right transfers
If you're transfeerring files from one computer to another, you'll probably use an FTP client program - either something with a GUI or the FTP command itself on your local machine, and that will talk to an FTP daemon on the server.

It's important to note that you need to navigate to the right directory on your local system AND the right directory on the remote system before you transfer the file, and that you know what the file to be transferred is named at the source AND what it will be named at the destination. Many an error has been made by getting it wrong at one end of the other, or by "put"ting when you meant to get, or "get"ting when you meant to put.

If you're a newcomer or rare user, here the scheme we use to FTP transfer files that keeps it as easy as possible ...

1. Use commands on your LOCAL workstation to navigate to the directory from / to which you wish to transfer

2. Establish an ftp connection to the remote machine

3. Use cd and ls to move and look around on the REMOTE machine and navigate to the directory from / to which you want to transfer there.

4. Use the put command to transfer file(s) to the remote machine, and / or the get command to transfer files from the remote machine

5. Leave ftp using the quit command.

Example of the commands you might enter:

1.
cd backups

2.
ftp 192.168.200.66
trainee
abc123

3.
cd /etc/httpd/conf
ls

4.
get httpd.conf

5.
quit

Other things to remember ....

a) If your transferring files between Linux (or Unix) and Windows systems, you MUST ensure that you're in Binary mode if you're transferring binary files and ASCII mode if you're transferring text files. The easiest way to do this is to type ascii or binary before you do your put or get.

b) File names are case sensitive on Unix and Linux systems, but case insensitive on Windows.
(written 2005-09-01 18:12:01)

 
Associated topics are indexed under
A100 - Web Application Deployment - The Components of a Web-Based Solution
Q624 - Object Orientation and General technical topics - HTML - An Overview
H101 - Introduction to PHP
Y202 - Python on the Web
P221 - Perl on the Web

Back to
New print centre for our manuals
Previous and next
or
Horse's mouth home
Forward to
Through public transport connection, Chippenham to Salisbury, to cease

Some other Articles
Outside of the box
Linking Apache httpd to Apache Tomcat
Expect for Windows
Through public transport connection, Chippenham to Salisbury, to cease
FTP - how to make the right transfers
New print centre for our manuals
File permissions of Linux and Unix systems
Linux commands - some basics
Charlie on Monday
Swindon - Chippenham - Melksham - Trowbridge - Westbury train service
1638 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho