go to Menu or
  • Upload/Download using a direct connection: FTP
  • Upload/Download using a dial-up-by-modem connection
  • File transfer: Send a file to a colleague once it's on your Alpha/Unix/Vax account

  • File Types

    Uploading/Downloading and a File's Itinerary

    --Problems--

    File types: text vs. binary

    A text file contains nothing but characters and paragraph marks. A binary file may contain graphics, sound, formatted text, e.g., bolded or underlined or italicized text or special fonts -- in any case, it has computer code or what shows up on the screen as garbage. 

    The terms uploading and downloading:

    Here's the image I invented for myself to keep the terms straight: I see a Goliath-type giant mainframe computer easily three stories tall, and I see my little David-type notebook which I dubbed "Das Kleinchen", the little Little One. So when I want to send a file from my notebook to Goliath, I need to UPLOAD. I leave the term DOWNLOAD for you. 

    A file's typical itinerary, including SIDEtripping:

    You have a file on your computer. You would like to send it to a colleague's computer. You both have an account on the Alpha.

    You need to UPload the file to your Alpha host disc. Then it must be attached to a message in your Alpha mailbox from where it is sent to your colleague's mailbox. This leg of the trip is sort of "sideways". Your colleague finds the file in his mailbox, shortly after you sent it, as an attachment to a message.

    Your colleague may be able to view or print the file (if it's a text / ASCII file), reply to you, delete it in his mailbox.

    Alternately, your colleague may wish to or have to DOWNload the file to his computer, perhaps to keep it, or perhaps because the file is a binary file and therefore cannot be viewed or printed online. So the file must be detached from the message and moved from the mailbox to the colleague's Alpha host disc from where it can be downloaded to his computer. 


    If your colleague has no e-mail account but you both have modems:

    You can send your file by modem. Phone your colleague and agree on modem protocols: on both ends, 8,1,none should be used; for transfer, use Zmodem if you both can as it's error correcting. Also, the sender should initiate the call, the recipient should set his modem to Answer. Create a special profile including the telephone number. This is a more expensive way of transferring a file if a long-distance call is involved. 

    Problems and some solutions:

    With foreign language text (e.g., French or Italian or Spanish with accents, German with umlauts): if you use Windows, set the keyboard to US International before creating your file. Also, use a font which has the full character set, such as Times Roman or Arial. Click here for more.

    Different mailers use different formats. Different people use different computers and/or word processors. Even our friends may be incompatible.

    What do we do now? We use the telephone to make our later electronic communications as painless as possible.

    For an ASCII text file, we use a common font such as Times Roman or Courier. And we open the file in a text editor, such as Windows Notepad or Wordpad or DOS Edit, to make sure that we didn't embed any control characters by accident when we prepared the file in a different word processor and then Saved it as Text.

    For a formatted text file, we need to use a common keyboard and a common font if we transfer between different platforms (e.g., Mac and IBM compatible). We need to embed a special font, if possible, if it is essential for the language or the look of the document and the recipient doesn't have that font. We need to make sure that the same version of the same word processor is used on both ends; if not, save the file in an earlier version of a word processor--for example: a WordPerfect v. 5.1 file can be saved and read by WP 6 and by MS Word 6. Or we can Save the file As a Rich Text Format file, with the extension .rtf, which can be read by any decent word processor on any platform.

    For images and sound files, we need to use a common format usable at both ends.

    Finally, but importantly, we compare mailers. If MIME is used at each end, no problem: this is a multi-purpose encoding scheme for electronic files which (more or less) ensures that files are readable on all platforms. The mailer Pine uses MIME, and it is available at Lehman for people with Alpha and Unix accounts. So, if you use Pine to send a file of any type, and your recipient has an account on the Alpha or the Unix, or has a different MIME-capable mailer, all is well.

    But the Vax is not MIME-capable. So you cannot send a file from the Alpha to Vax as an e-mail attachment. You have to use a different Alpha mailer.

    As the Vax is not MIME-capable, you can use it to send a text file without a problem. To send a binary file from the Vax, you first must convert it to an ascii file: the most common converter for this purpose is uuencode, it's downloadable freeware. The recipient of your file must use uudecode to reconvert the file you send to binary; be sure to make that clear.

    Basic principles:
    Before uploading a file, make it small and transportable. Graphics files might be in .gif format (lview.exe can be used for the conversion, it is online freeware). Save plain text as .txt, accented and/or formatted text as .rtf. Save a datafile in any format readable by your recipient. You might zip the file to make it smaller (see below). If your recipient does not have MIME, you must uuencode the file if it's binary (see below).
    UUENCODE/UUDECODE:
    Uuencode.exe/uudecode.exe for DOS are both online freeware. If you use Windows, find the Windows version wcode103.zip online and unzip it.

    If you use the DOS version, at the DOS prompt, enter uuencode <path:\filename.ext>. The new file is called <filename>.uue and is now a text file. You can upload it and send it to someone who does not have MIME.

    The recipient downloads the file and, at the DOS prompt, enters uudecode <filename>.uue. He now has a copy of the original binary file. If you zipped the file, he must still unzip it before the file is usable.

    PKZIP/PKUNZIP:
    pkzip.exe/pkunzip.exe for DOS are both online freeware. To zip a file, enter pkzip <path:\filename.ext>. To unzip a file, enter pkunzip <path:\filename>.zip. You can include a whole bunch of files in one .zip file. 

    Disc space:

    In a college account, this is quite limited, not big enough for really big files. In any case, be sure to delete any unnecessary messages and files. 1 block = 512 bytes (= 1/2 kb).
    Alpha: at the > prompt, enter /usr/sbin/quota to see Blocks used, Blocks allotted.
    Unix: at the > prompt, enter df du quota for diskspace free diskspace used diskspace allotted.
    Vax: at the $ prompt, enter show quota to see diskspace used diskspace allotted.

    To Continue, see details for

  • Upload/Download using a direct connection: FTP
  • Upload/Download using a dial-up-by-modem connection
  • File transfer: Send a file to a colleague once it's on your Alpha/Unix/Vax account


  • Hoffmann, Feb. 1999

    go to Menu