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, updated 2008-05-17)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
Y202 - Python on the Web [237] Crossfertilisation, PHP to Python - (2005-03-06)
[426] Robust checking of data entered by users - (2005-08-27)
[903] Pieces of Python - (2006-10-23)
[1745] Moodle, Drupal, Django (and Rails) - (2008-08-08)
[2238] Handling nasty characters - Perl, PHP, Python, Tcl, Lua - (2009-06-14)
[2365] Counting Words in Python via the web - (2009-08-18)
[4089] Quick and easy - showing Python data hander output via a browser - (2013-05-15)
[4404] Which (virtual) host was visited? Tuning Apache log files, and Python analysis - (2015-01-23)
[4536] Json load from URL, recursive display, Python 3.4 - (2015-10-14)
Q624 - Object Orientation and General technical topics - HTML - An Overview [857] Strikingly busy - (2006-09-06)
[1160] HTML - example of a simple web page - (2007-04-24)
[1463] All the special characters in HTML ... - (2007-12-07)
[1831] Text formating for HTML, with PHP - (2008-10-11)
[4034] The VERY basics of a web page ... and web site - (2013-03-09)
P221 - Perl on the Web [493] Running a Perl script within a PHP page - (2005-11-12)
[590] Danny and Donna are getting married - (2006-02-03)
[641] Simple but rugged form handling demo - (2006-03-10)
[662] An unhelpful error message from Apache httpd - (2006-03-30)
[687] Presentation, Business and Persistence layers in Perl and PHP - (2006-04-17)
[975] Answering ALL the delegate's Perl questions - (2006-12-09)
[1198] From Web to Web 2 - (2007-05-21)
[2551] Perl and the Common Gateway Interface - out of fashion but still very useful? - (2009-12-26)
[3875] Using CGI and Perl to put a simple application online. Sometimes still the best way. - (2012-09-30)
H101 - Introduction to PHP [48] PHP - onwards and upwards - (2004-09-14)
[55] Evening classes to learn PHP - (2004-09-19)
[93] Case Sensitive? - (2004-10-19)
[124] PHP v Java - (2004-11-20)
[132] Portrait of the author - (2004-11-27)
[135] Too many Perls - (2004-11-30)
[317] Programming languages - a comparison - (2005-05-20)
[341] Happy Birthday, PHP - (2005-06-09)
[380] Bridging to the customer requirement - (2005-07-16)
[382] Central London Courses - Perl, PHP, Python, Tcl, MySQL - (2005-07-18)
[577] Learning to program in Perl or PHP - (2006-01-26)
[624] It's REALLY easy to add a little PHP - (2006-02-26)
[629] Choosing the right language - (2006-03-01)
[646] PHP - London course, Melksham Course, Evening course - (2006-03-14)
[691] Testing you Perl / PHP / MySQL / Tcl knowledge - (2006-04-19)
[712] Why reinvent the wheel - (2006-05-06)
[789] Hot answers in PHP - (2006-07-02)
[795] Remember a site's non-technical issues too - (2006-07-07)
[846] Is Perl being replaced by PHP and Python? - (2006-08-27)
[917] Syntax checking in PHP - (2006-11-07)
[924] The LAMP Cookbook - Linux, Apache, MySQL, PHP / Perl - (2006-11-13)
[949] Sludge off the mountain, and Python and PHP - (2006-11-27)
[1050] The HTML++ Metalanguage - (2007-01-22)
[1717] Q - Should I use Perl or Python? - (2008-07-23)
[1753] Perl v PHP, choosing the right language - (2008-08-14)
[1958] PHP - Parse error: syntax error, unexpected $end ... - (2008-12-23)
[2097] PHP Course - for hobby / club / charity users. - (2009-03-22)
[3025] Learning to Program ... in PHP. Course examples. - (2010-11-01)
[4118] We not only teach PHP and Python - we teach good PHP and Python Practice! - (2013-06-18)
[4621] The power of scripting - (2016-01-12)
A100 - Web Application Deployment - The Components of a Web-Based Solution [34] Linux / LAMP course - (2004-08-31)
[49] Business is the predominant user of Tomcat, Perl and Tcl - (2004-09-15)
[166] Acronyms - (2005-01-02)
[367] Ajax - (2005-07-03)
[442] How far away is that server? - (2005-09-10)
[510] Dynamic Web presence - next generation web site - (2005-11-29)
[673] Helicopter views and tartans - (2006-04-06)
[1176] A pu that got me into trouble - (2007-05-04)
[1265] Apache, Tomcat, Jakarta, httpd, web server - what are they? - (2007-07-13)
[1496] PHP / Web 2 logging - (2008-01-06)
[2099] Should I maintain the programming code on my own website? - (2009-03-23)
[2896] LAMP - Linux, Apache, MySQL, PHP - install, configure, administer - (2010-07-30)
[3891] The components of an Apache httpd / Tomcat / MySQL stack and what each does - (2012-10-13)
Some other Articles
Outside of the boxLinking Apache httpd to Apache TomcatExpect for WindowsThrough public transport connection, Chippenham to Salisbury, to ceaseFTP - how to make the right transfersNew print centre for our manualsFile permissions of Linux and Unix systemsLinux commands - some basicsCharlie on MondaySwindon - Chippenham - Melksham - Trowbridge - Westbury train service