07-01-2011, 05:18 PM
What would need to be done to show a master progress status for multiple files from a website using IntGetFile?
IntGetFile Multiple File Progress
|
07-01-2011, 05:18 PM
What would need to be done to show a master progress status for multiple files from a website using IntGetFile?
07-02-2011, 05:57 AM
Function dialog_download_multiple_progress
\Dialog_Editor Function DDMP_Callback
07-03-2011, 05:35 AM
This code is way out of my comfort zone of understanding.
But I see that I would send to the dialog the list of files in the lb3 variable and the host website on the e5 variable. So I could set the list of files into a variable. Then call the dialog through a mac command sending the variable as a cl. Then receive it through lb3=_command? Or do you know a better way to pass the list of files from the script to the dialog for the progress bar? The Http stuff is the same as IntGetFile? Thanks, Jim
07-03-2011, 05:40 AM
Yes. I used it to avoid connect/disconnect when all files are from same server. But instead can be used IntGetFile.
This is not finished but works. [DELETED]
07-03-2011, 04:52 PM
This is great. Anyway to show to total size of all the files and the progress based on that?
The array does not output when the macro finishes and where do the files go? These are probably parts of the "not finished" -jim
07-03-2011, 05:07 PM
After IntGetFile, add sd to p.a as new element.
p.a[]=sd
07-03-2011, 05:47 PM
Quote:Anyway to show to total size of all the files and the progress based on that? It will take some time before downloading files, because for each file need to send request to the server and receive headers that contain file size. Assume it will be 0.5 s. Multiply to the number of files. Is it OK?
07-03-2011, 09:05 PM
Yes. Usually there are only like 10 files. Perhaps a dialog saying..."Preparing for download" so the program doesn't just look hung.
Thanks bunches for all of your work!
07-05-2011, 01:48 PM
Wow. That's exactly it. Thank you so much!!
07-05-2011, 02:14 PM
I was able to tweak the main macro to fit exactly what I need to save the files with specified names. It's a little gritty, but does the trick
Function IngGetCSV function ~CSV |
« Next Oldest | Next Newest »
|