Re: Help needed downloading a file to a folder

2005-12-03 Thread Andre Garzia
On Dec 3, 2005, at 11:52 AM, Rodney Somerstein wrote: Thanks again for the help Andre. I was spending time with the docs, but unfortunately they don't seem to tie things together very well. For instance, I found the load URL command and therefor realized that it cached the file to memory.

Re: Help needed downloading a file to a folder

2005-12-03 Thread Rodney Somerstein
By default, the filetype is set to "ttxtTEXT" which causes Rev to make the Finder think that all files it saves are text files. The easiest solution is to use: set the fileType to empty before saving any files. This forces OS X to make up it's own mind about the file type, absed on the extensio

Re: Help needed downloading a file to a folder

2005-12-03 Thread Rodney Somerstein
Thanks again for the help Andre. I was spending time with the docs, but unfortunately they don't seem to tie things together very well. For instance, I found the load URL command and therefor realized that it cached the file to memory. Even the callback message part was clear. However, I couldn

Re: Help needed downloading a file to a folder

2005-12-03 Thread Rodney Somerstein
Hi Rodney, You might be interested in "How to download data from the internet", one of my tutorial stack you can access through Tutorials Picker. Tutorials Picker is a plugin available (as all other tutorials) on http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en Thanks a lot, E

Re: Help needed downloading a file to a folder

2005-12-03 Thread Eric Chatonet
Hi, Sarah is right (as usual :-) If you want you can use the following too: Type: EXT Creator: GZIP Those are used by the Mac OS X finder. Another thought: when you set the fileType in a stack (it does not matter in a standalone where you are the only master ;-) , it's good practice to stor

Re: Help needed downloading a file to a folder

2005-12-03 Thread Sarah Reichelt
> Also, I noticed that instead of ending up with a binary file when > using put URL, I actually ended up with a text file with a .zip > extension. It did unzip with no problem. I'm guessing I have to do > some kind of magic to make the file into an actual zip file for Mac > OS X? > By default, the

Re: Help needed downloading a file to a folder

2005-12-03 Thread Eric Chatonet
Hi Bill, In the script of the "Cancel" button, you will find: on mouseUp set the uCancelMessage of this stack to true end mouseUp And in the ShowInfo handler (card's script) the first case in the switch structure: on ShowInfo pUrl,pFldName local tStatus,tResult - put URLStatus(p

Re: Help needed downloading a file to a folder

2005-12-03 Thread Bill Marriott
Actually, I did download and go through your stack... ...and went through it again after your post below... ...but for the life of me I can't find a section documenting how to cancel a download initiated with "load URL." There is a Cancel button in your sample that looks like it does the job --

Re: Help needed downloading a file to a folder

2005-12-03 Thread Eric Chatonet
Hi Bill, Have a look at the post I sent 10 minutes ago :-) Some details about the "How to download data from the internet" tutorial: This stack explains how to test the user connection, an url validity, why and how to use get url or load url, retrieve data from framed pages, give an accou

Re: Help needed downloading a file to a folder

2005-12-03 Thread Bill Marriott
I've been playing a bit with this too. I noticed that with a large file, performance can really slow down during the transfer. Especially if you're trying to monitor it periodically with the URLStatus. Question: How can one "cancel" a download in progress? Bill "Andre Garzia" <[EMAIL PROTECTE

Re: Help needed downloading a file to a folder

2005-12-02 Thread Eric Chatonet
Hi Rodney, You might be interested in "How to download data from the internet", one of my tutorial stack you can access through Tutorials Picker. Tutorials Picker is a plugin available (as all other tutorials) on http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en Le 3 déc. 05 à

Re: Help needed downloading a file to a folder

2005-12-02 Thread Andre Garzia
On Dec 3, 2005, at 4:31 AM, Rodney Somerstein wrote: Andre, Thanks for the quick answer. Using the correct URL does seem to help. ;-) It seems to work OK now. Though as you state, I don't want that long pause while the file downloads. Of course, the next obvious question is how do I us

Re: Help needed downloading a file to a folder

2005-12-02 Thread Rodney Somerstein
Andre, Thanks for the quick answer. Using the correct URL does seem to help. ;-) It seems to work OK now. Though as you state, I don't want that long pause while the file downloads. Of course, the next obvious question is how do I use the load URL command to the same thing? From what I can te

Re: Help needed downloading a file to a folder

2005-12-02 Thread Andre Garzia
On Dec 3, 2005, at 3:58 AM, Rodney Somerstein wrote: I am trying to create a button to download a file from a web site. I don't seem to be having much luck getting this to work. This is under OS X. At best, I seem to get a 4k text file. I should be getting a 5MB zip file. As far as I can t

Help needed downloading a file to a folder

2005-12-02 Thread Rodney Somerstein
I am trying to create a button to download a file from a web site. I don't seem to be having much luck getting this to work. This is under OS X. At best, I seem to get a 4k text file. I should be getting a 5MB zip file. As far as I can tell, this should download the file to my user directory.