| NEWS | | |  | | FORUMS | | |  | | FREEWARE | | |  | | ABOUT US | | |  | | | Category: Internet/EmailMass Downloader | | Description |  | Mass Downloader 0.63cbeta1 In this app you can set a number of files that will be downloaded manually or daily at a predetermined time.
The files can be downloaded to either internal RAM or on a VFS card.
I personally use it to have a cetralised way of updating apps and to get daily updates of some files I need for my work.
Any feedback or requests for features are of course welcome  Changelog:
v0.5: First public release
v0.51: Added ftp support
v0.51b: Fixed an embarrassing bug where the alarm would be disabled after a reset.
v0.55: Added basic authentication and SSL support.
v0.55b: Fixed a bug which could cause a reset loop after a soft reset.
v0.60beta1: Initial Scripting Support
v0.60beta2: Bugfixes, added support for comments and the opening of scripts from external cards.
v.0.60beta3: More bugfixes, added a centralized log file, fixed a double alarm issue, tweaked the file browser.
v0.60beta4: Added support for word 'wildcards' (not exactly but I cant remember the exact terminology ). UI changes.
v0.60beta5: Code cleanup, you can now see the script line being downloaded.
v0.60beta6: UI changes, bugfixes.
v0.60beta6a: Bugfixes.
v0.60: Minor bugfixes
v0.61: Can now timestamp DL'd files
v0.62: Can now DL full ftp directories.
v0.63: Added option to only DL when charging. Changed the logfile layout.
v0.63: Can now delete all files in an ftp directory
v0.63cbeta1: Improved support for queries (note that the resulting filename might be the name of the query script. I'm working on this now), fixed a bug where when using wildcards, the url would get permanently overwritten, UI changes. Wildcards:
You can also use the following wildcards in the URL:
{YEAR} The current year (YYYY).
{YEAR2} The current year (YY).
{MONTH} The current digit month (M).
{MONTH2} The current digit month (MM).
{DAY} The current day of the month (D).
{DAY2} The current day of the month (DD).
{HOUR} The current hour (H).
{HOUR2}: The current hour (HH). Notes:- You must add the program to Uncache's whitelist in order for the alarms to be reinstated after a reset.
- For the SSL support to work, the SSL library must be on your device. If Blazer can open SSL links normally then you are fine. Keep in mind that all SSL warnings and errors are suppressed but they can be found in the error log.
- Both 'Append Date' and 'Altern. mftp' are inherited by all the DL's started from an entry. That means that if you start a script from the UI, then all DL's will use them.
- The 'Append Date' will append a '_YYYYMMDDHHMMSS' string at the end of the file (before the extension of course
) - To download all the files in a FTP directory, use 'mftp' as the protocol.
- Something that needs mentioning is the 'Altern. mftp' option. By default, the app will download a file, close the connection, see if the file is a script, execute it if yes or it will move on to the next item. The problem is that this could be seen as hammering if multiple files are downloaded like this in quick succession.
So, if you don't have a script in the server, you might want to use the alternative method which is more graceful (it is also faster BTW). On the other hand, if you are sure that the server is fine with it use the standard method.
Just to clarify, downloaded scripts will not be executed using the alternative method.
I will be fixing this when I get a bit of time. I don't have the time right now to rewrite that part of code.
Scriting Notes:
A massdl script is a file which when downloaded will cause massdl to perform a number of actions. It can have any name but its extension must be .dls .
Its format is as follows: Code:
massdl v1
// The following line will download the cupdate.pdb file
// and save it in the DCIM directory of the first card
DL http://currex.sourceforge.net/cupdate.pdb 1/DCIM
// The following line will download the cupdate.pdb file
// and save it in RAM
DL http://currex.sourceforge.net/cupdate.pdb RAM
// The following line will download the cupdate.pdb file
// and save to the default location for this DL
DL http://currex.sourceforge.net/cupdate.pdb
// The following line will download the testfile.tmp via FTP
// and save it at the root directory of the 2nd card
DL ftp://some.server.com/testfile.tmp 2/
// The following line will download the contents of the root FTP
// directory and save it at the root directory of the 2nd card
DL mftp://some.server.com/ 2/
// The following line will delete the testfile.tmp from the FTP
// server
RM ftp://some.server.com/testfile.tmp
// Download from an https server, providing a username
// and password.
DL https://username:password@some.server.com/testfile.tmp
// Download from a server which uses a non standard port
DL http://some.server.com:42/testfile.tmp 1/
// Finally, most cases together
DL ftp://anonymous:@some.server.com:42/testfile.tmp 2/
END
Any text below the END line is ignored.
The first line must always start with "massdl" otherwise the app will ignore the file. The version string will be used to keep track of changes in the formating.
There can be any number of action lines but they must be formatted as follows:
ACTION URL_TO_BE_DOWNLOADED DOWNLOAD_LOCATION
Valid actions are:- DL - Download File
- RM - Delete File (for ftp)
- // - This line is a comment
The DOWNLOAD_LOCATION has to be formatted as follows:
CARD_NUMBER/PATH
The card number is automatically assigned by the OS to any VFS cards that are connected on the system.
The numbering starts at 1 which is normally the first card but on systems with a built-in volume it is assigned to that. This applies even to palms where the built-in volume is hidden, such as the TX.
- To download to RAM, write RAM as the download location.
- If no location is entered MassDL will use the same path the script was downloaded to.
- After the END bit, you need to hit enter otherwise there will be an error on your error log (It can be safely ignored though and it wont affect the program's execution).
- The theoretical maximum of the script file is a bit lower than 32K, although I wouldn't push it that far
. ----
Typical disclaimers appy (although nothing should go wrong).
Use this app at your own risk.
The main discussion thread for the app can be found here: http://www.1src.com/forums/showthread.php?t=133462
| | | File Information - Viewed 9730 times | | File Name: | Mass Downloader  | | File Date: | 06-10-2008 10:46 AM | | File Size: | 170.74 Kb | | Version: | 0.63cbeta1 | | File Statistics | | User Rating: | | | Downloads: | 925 | | Uploaded By: | alt236 | | Last Modified: | 06-10-2008 10:59 AM by alt236 |  |
09-09-2007, 10:09 PM
|
| TXed in '06
: Minnesota Forum posts: 217 Uploads: 27 File comments: 8 | Interesting app. Two observations: [1] cannot delete existing entries (or any it seems) and [2] cannot view the entire address on the edit form.
__________________
Palm TX (2006) >> all that really matters...  ~ ok. maybe not... Here's to the good ol' days...
|
| |
09-10-2007, 01:34 PM
|
| Lost in the wires.
Forum posts: 805 Uploads: 10 File comments: 7 | Thanks for the feedback!
To delete an entry, go into the entry itself and there is a delete option under the DL menu on top.
To edit an URL more easily, click on the URL label on the edit form.
I really should make both more clear in the program  |
| |
09-10-2007, 08:43 PM
|
| TXed in '06
: Minnesota Forum posts: 217 Uploads: 27 File comments: 8 | Ah! what a rookie I am. Didn't think to check for a menu. Got it. (strike)About the address... I was talking about the actual field that holds the address. It does not seem to allow me to edit the part of the address that falls off the right side of the screen. I cannot nav to the right beyond the visble portion of the field.(strike) edit: While the above is true, I missed the obvious "URL" button that pops up the standard url/address form! Doh! Excellent form factor! I will try to pay attention now...
One new thought... it seems you have to reset the folder after an edit the address each time. It would be nice if it remembered the path unless it is changed.
Thanks!
__________________
Palm TX (2006) >> all that really matters...  ~ ok. maybe not... Here's to the good ol' days...
Last edited by palmuse : 09-10-2007 at 10:14 PM.
|
| |
09-10-2007, 10:26 PM
|
| TXed in '06
: Minnesota Forum posts: 217 Uploads: 27 File comments: 8 | I thought I would post an interesting use of this cool little downloader...
I successfully downloaded the front page of a website by adding "index.html" to the page address and saved the file to the card. Next I tested opening it 'offline' using a couple of web browsers, namely Blazer and the Universe beta (thanks dkirker!). It turns out that Blazer gets stuck in a Wifi loop and requires a reset to step out of it, but I was able to use Universe to open the file offline (nix the pix). ( create a bookmark -> file:///{cardname}/{path}/{file}.html )
Now with the built-in scheduled download function (I have not tried it, but trust it will work) I expect that I can save a few fav sites to my card overnight or early AM and then read them offline with Universe. Neato!?
Thanks alt236!!!
__________________
Palm TX (2006) >> all that really matters...  ~ ok. maybe not... Here's to the good ol' days...
|
| |
09-11-2007, 12:16 PM
|
| Lost in the wires.
Forum posts: 805 Uploads: 10 File comments: 7 | Glad you like it! Quote: |
edit: While the above is true, I missed the obvious "URL" button that pops up the standard url/address form! Doh! Excellent form factor! I will try to pay attention now...
|
You probably missed it because it was not that visible in the previous version (it only looked like a standard label) Quote: |
One new thought... it seems you have to reset the folder after an edit the address each time. It would be nice if it remembered the path unless it is changed.
|
The program will remember the path you last set. Its just the file browser which starts from the beginning. I'll get it sorted though 
Last edited by alt236 : 09-11-2007 at 02:03 PM.
|
| |
09-19-2007, 06:35 PM
|
| Registered User
Forum posts: 6 Uploads: 1 File comments: 4 | Great work! Tried this out...looks nice. Just what I've been looking for!
Would it be possible to add a rename option?
I download the same file each day, but want to add the date to the filename when it's saved so I can archive each day automatically. |
| | | All times are GMT -5. The time now is 07:23 PM. |  | All times are GMT -5. The time now is 07:23 PM. |