Drop DownloadGURL, 2 AppleScript ftp clients

User avatar
Info-Mac
Administrator
Posts:13716
Joined:December 21st, 1988, 11:00 am
Drop DownloadGURL, 2 AppleScript ftp clients

Post by Info-Mac » January 27th, 2000, 11:00 am

Download: http://archive.info-mac.org/inet/drop-download-gurl.hqx

Drop Download
Uses OS 8.6's URL Access Scripting feature to download URLs and list directories.
Needs: Tanaka's OSAX 2.0x to read clipping files - available free from the author at:
Home page:
The OSAX:

Drag as many of the following kinds of URL containing files as you wish onto Drop
Download, and have them downloaded to a folder named "Downloads" on
your startup disk.

1. TEXT file types containing a URL or a return deliminated list of URLs.
2. Netscape URL files.
3. Clipping files (regular or internet) with a URL or a return deliminated list of URLs.
4. Anarchie bookmarks.
Or,
5. Double click Drop Download, and type or paste in a URL.

The URLs are saved into the "Comments" box of each file's "Get Info" window. Successful
downloads are logged to a text file at "HD:System Folder:Application Support:URL Access
Log Folder:URL Access Download Log" Error messages get saved to a text file on the desktop
named "Download failures"

Updated script no longer pops URL Access Scripting to the front for each file when doing
multiple file downloads, but rather uses a "silent mode" whenever it is doing multi - file
(more than 1) downloads.

Will try up to 5 times whenever it gets a server busy error (I Hope!! I think the error
is 12 but have been unable to test it!!).

Added a handler for input from Apple Data Detectors action files. Two un-compiled
scripts are included, and must be compiled after Drop Download is installed on your
machine. A small applet is also included to convert your compiled ADD action scripts
to the correct creator type. This extra step is necessary in order to avoid having to give
Drop Download a unique creator type.

DownloadGURL
Contains much of the code from Drop Download, but with "the on open" handler removed. I gave
DownloadGURL a custom creator code (zÊþ) - That's: (z, ASCII 29, ASCII 202, ASCII 254).
Changing the creator code causes droplets to lose their 'dropletness' or their ability to process
files dropped onto them. But, by so doing, it can be specified as the default helper application
for ftp in the Internet preferences, and the ADD action scripts can come precompiled. If you want
to play around and edit this script, do it the easy way with Smile. Otherwise, you have to change
its creator type back and forth to edit it with Script Editor.
Post Reply