Sunday, May 25, 2008

Going "Wireless": Downloading files from a networked Win2k PC


OK, I have been looking into downloading Newton packages to my Messagepad using a wirelessly connected web browser.

Here is an overview of the steps involved:


  1. Set up the PC so that it can securely publish material to the web by creating a new web server.

  2. Make the directory full of Newton pkgs available through the new web server.

  3. Surf to the web server by way of the Newton

  4. Access the website and test a download.
In detail:
  1. Set up the PC so that it can securely publish material to the web.

    I have a Windows 2000 professional machine so it comes with Internet Information Services already built in but it isn't by default installed.

    Insert your Windows 2000 professional disc in your CD-drive or DVD-drive
    Click Start
    Click Control Panel
    Click Add/Remove Programs
    Click Add/remove Windows Components
    Check the Internet Information Services box
    Click next and follow the wizard

  2. Make the directory full of Newton pkgs available through the new web server.

    Creating a virtual directory
    Click Control Panel
    Click Administrative Tools
    Click Personal Web Manager
    Right-Click Home in the tree
    Check allow directory browsing
    Click Add virtual directory
    In the Directory box add the path name to the Directory you want to share.
    In the Alias name give it a user friendly name (I used "Newton")
    For security reasons, I only have the "Read" box checked
    Application permissions: hit the "None" radio button
    Click OK

    Security
    Right click the new virtual directory
    Click properties
    Click Directory Security tab
    Click the Edit button in the Anonymous access and authentication control area
    Set the access levels you require.

    Recognising file types
    Now we want the server to know what a .pkg file is:

    Click Control Panel
    Click Administrative Tools
    Click Computer Management
    Expand Services and Applications in the tree by clicking the "+" next to it
    Click Internet Information Services
    Right-click Default Web Site in the list window
    Click Properties
    Click the HTTP header tab
    Click File Types in the MIME map area
    Click the New Type button
    Type .pkg into the "Associated Extension" text box
    Type "application/x-newton-compatible-pkg"
    Click OK
    Click OK
    Click Apply
    Click OK
    DONE

  3. Surf to the web server by way of the Newton

    Double tap on Newtscape
    Enter the URL of your webserver:
    http://[ip address of your desktop]/newton,
    say
    Tap the Newt
    Wait a few seconds and voila your newton web page appears.
    You're done.

I've been downloading files through both Newtscape and Courier. The elation of watching a 1Mb Newton Book download in a minute or two compared with the hours it might take across a serial connection is indescribable. Even, better with no chance of damaging that fragile serial port either.

Now all I have to do is figure out how to back up wirelessly...

6 comments:

Krlinhoz said...

this is awesome! as soon as I figure out a way to install the wireless driver's into my newton, I will kiss goodbye the serial connection and use WiFi as you described

Genghis7777 said...

Yep. No risk of damage to the vulnerable interconnect port; Less time for downloads; No frustration from serial port drop outs (the infamous "-1" comms error. I llook forward to hearing of your success.

Genghis

Anonymous said...

Did you ever decide how you'd get content from the Newton to the PC "upstream"?

Genghis7777 said...

For my own content creation, I use Simple Mail and email it to my PC. The downside of email is that the Newton doesn't support secure email protocols such as SSL so the Newton doesn't download emails unless it is an unsecured email server. Most ISPs won't provide an unsecured email. Newted.org used to but Grant hasn't got that back up and running yet. I suspect the high cost of recovering his HDD data might be the problem. In fact, I've discovered that you can email a blog entry to Blogger so nBlog isn't necessary anymore. I'm still doing backups with my rotating memory card system. Unfortunately these cards are very expensive new and second hand ones from eBay and J&K Sales are becoming scarce. NCU is the only way to back up to a PC but this only supports serial communications. NCU also allows you to upload Works and Notes documents whilst still preserving your formatting by presenting RTF files to the PC.

HTH

Genghis

Genghis7777 said...

Oh, I forgot to mention Andrés Galluzzi's Newton Connection Tools. This currently uses serial connectivity. He mentions that this will eventually support Ethernet connections. I haven't tried it though as I am waiting for him to implement a trial system. One shouldn't have to purchase software before it has been tested to confirm it is fit for purpose. At least one other Newton user has taken the plunge and has reported good results.

Genghis7777 said...

My brain is going slowly at the moment... there is another way to get upload stuff wirelessly and that is through NewtFTP. Check out that blog entry for more details.

HTH

Genghis