To return to the previous page please use the 'Back'-button of your web-browser
Transferring text from the browser to a file
Standardisation is a wonderful invention – everybody should invent his own standard ! (unknown author)
While testing my
descriptions I encountered that text-files (e.g. configuration- or
script-files) sometimes get corrupted when transferred from the
browser of one operating-system (e.g. MS-Internet-Explorer** under
Windows**) to another operating-system (e.g. Linux**).
To overcome
these problems, here are the procedures how to transfer files without
corrupting or losing data.
The first precaution is, that the contents for text-files is not stored as text-'object' ('object' according to the W3C-standards) but as readable text on a HTML-page.
How to transfer this text from the HTML-page read with a browser to a text file is described below.
Copy text read under a Windows**-browser to a Linux**-operating-system
Mount a diskette under Linux**
Unmount a diskette under Linux**
Copy text read under a Windows**-browser to a Linux**-operating-system
Problem:
Under
Windows** editors or word-processors write a file-format that is not
plain ASCII. Additionally it seems that the 'new-line'-marking is not
as standardized ('carriage-return' and 'new-line' characters).
Procedure:
Mark the complete text on the HTML-page with the contents of the script- or configuration-file using the 'Select'-function of the web-browser.
Use the 'Copy'-function of the web-browser to copy the marked text to the clipboard.
Open the simple editor (not WordPad) and 'Insert' the marked text from the clipboard.
Save the file under the suggested file-name (or a name chosen by yourself) to a diskette or a directory which is accessible over the network.
At the
Linux**-machine open the file with an available editor (e.g. 'pico'
or 'vi').
If you want to open the file stored on a diskette you
have to mount the diskette
first.
Delete the 'new-line' marker after any line and re-insert a 'new-line'.
Save the file.
(The
previous change and this step changes all incomplete 'new-lines' to
these according to ASCII-standard.)
If the file is stored on a diskette you have to unmount the diskette now to save the data on the diskette.
Mount a diskette under Linux**
Procedure:
Insert the diskette into the drive of the Linux-machine.
Mount the diskette
with the following command:
mount
/dev/fd0
Unmount a diskette under Linux**
Procedure:
Unmount the diskette
with the following command:
umount
/dev/fd0