To return to the previous page please use the 'Back'-button of your web-browser

Transferring text from the browser to a file

For this document and all references (links) please obey the hints and regulations concerning copyright, disclaimer and trademarks.

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:

  1. 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.

  2. Use the 'Copy'-function of the web-browser to copy the marked text to the clipboard.

  3. Open the simple editor (not WordPad) and 'Insert' the marked text from the clipboard.

  4. 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.

  5. 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.

  6. Delete the 'new-line' marker after any line and re-insert a 'new-line'.

  7. Save the file.
    (The previous change and this step changes all incomplete 'new-lines' to these according to ASCII-standard.)

  8. If the file is stored on a diskette you have to unmount the diskette now to save the data on the diskette.

To top of document.

Mount a diskette under Linux**

Procedure:

  1. Insert the diskette into the drive of the Linux-machine.

  2. Mount the diskette with the following command:
    mount /dev/fd0

To top of document.

Unmount a diskette under Linux**

Procedure:

  1. Unmount the diskette with the following command:
    umount /dev/fd0