another day another task
FTP
as per instructions in this module i downloaded the file which seemed quite easy
what i had a problem with was the password had to go to the virtual help site a few times until i relised i just need to use ANONYMOUS as the user name and no password
did that and i was in
”according to the read me file “CAPATILZATION” matters
this looked like it was going to be a difficult excercise but turned our quite easy
snap shot of what was on the screen
ATTENTION MAC, OS/2, MS-DOS and MS-WINDOWS users:
This server runs on a unix platform, so CAPITALIZATION MATTERS!
A file named “file.txt” IS NOT THE SAME as “FILE.TXT”
——————————————————————-
* Converting and compressing files:
Sailor’s ftp server can compress files on the fly, using
the following forms of compression and file extensions:
compression method extension
—————— ———
GNU zip (gzip) .gz
unix compress .Z
info-zip .zip
The info-zip format is compatible with PKZIP, popular on many
MS-DOS, MS-Windows and Windows ‘95 systems.
All compression techniques require you to set your transfer mode
to BINARY.
Getting a file with a particular compression type is as simple
as asking for it. For example, if you want to get the file
“wifrb10.txt” in gzip format, use the following commands:
(The server’s response is left out here)
ftp> binary
ftp> get wifrb10.txt.gz
For compatibility with file systems that allow only “8.3″
file names, (or systems that allow only one dot in a filename),
our server is configured to allow you to replace the
“.txt” extension with the extension of the compressed file.
For example, to get the file above, with an 8.3 file name,
you could have issued the commands:
ftp> binary
ftp> get wifrb10.gz
For files with an extension other than “.txt”, this method
will not work – however, your ftp client will probably allow
you to specify the local filename on the command line – so,
to get the file “INDEXALL.GUT” in zip format with a “.zip”
extension, you would use these commands:
ftp> binary
ftp> get INDEXALL.GUT.zip indexall.zip
Since many web browsers don’t allow you to get ftp files that
don’t appear in the listings, we have included the .zip files
in the Gutenberg archives.
————————————————————–