URL Access Scripting return
URL Access Scripting return
- Subject: URL Access Scripting return
- From: Doug McNutt <email@hidden>
- Date: Sun, 21 Jul 2002 20:27:07 -0600
When URA Access Scripting is run with the "with unpacking" option the return string consists of the full path to the downloaded file on the client machine. If the unpacking found a file name stored in the compressed download that name is returned. The filename on the calling line is used for the download but then overlayed by the unpacking process.
If the unpacking option is left off the calling line and the downloaded file is not unpacked the returned string consists only of the directory into which the file was downloaded. I donno what happens if the request specified only a filename expecting it to go into the current working directory.
It's not clear what happens if a *.hqx file is downloaded with no unpacking specification in the coding line. The default is true and it probably gets unpacked. probably.
The result of all this is that it's difficult to tell programmatically what file should be opened after a successful download when you don't know if it was unpacked or not.
Script Editor 1.8.3, MacOS 9.2.1
--
-> The U. S. Patent Office issues protection for methods used in stem cell research. Is that an immoral use of taxpayer's money? <-
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.