WINAMP.COM | Forums > Developer Center > NSIS Discussion > http + ftp download plug-in |
| Pages (9): [1] 2 3 » ... Last » |
Last Thread
Next Thread
|
| Author |
|
|
Takhir Major Dude
Registered: Feb 2004 |
http + ftp download plug-in
Attached plugin supports http and ftp downloads. Included script sample downloads 2 mp3 files (one for each protocol). I wrote it fast (from code pieces I had
|
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
wording improved
|
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
Empty file size fields looks lonely
|
||
|
|
|
Fred556 Guest
Registered: Not Yet |
Can this plugin download silent and with process? |
||
|
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
What are the minimum requirements for this plug-in? It takes proxy settings from IE, right? I have been meaning to write a new NSISdl based on IE's downloading engine to solve all of those proxy problems. If you're already at it, how about you add an option to download more than one file in a row, I review the code, and we slap a NSISdl2 tag on it? __________________ |
||
|
|
|
grahama Senior Member
Registered: Sep 2004 |
yea |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
|
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
to Kichik
|
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
I fixed one bug in last (extended) version and improved download status displaying.
|
||
|
|
|
grahama Senior Member
Registered: Sep 2004 |
is inetload working with proxy networks...or is that a future thing ? |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
Good question. Plug-in works in my proxy tests, but this is 10% of success only
|
||
|
|
|
grahama Senior Member
Registered: Sep 2004 |
will do and report back... |
||
|
|
|
grahama Senior Member
Registered: Sep 2004 |
could add a Silent feature ? |
||
|
|
|
grahama Senior Member
Registered: Sep 2004 |
great news |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
Many thanks, grahama. I'll add this option (I tested right now - plug-in can take string from the stack and push it back if this is not /silent parameter |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
New plug-in version with /SILENT support (optional).
|
||
|
|
|
grahama Senior Member
Registered: Sep 2004 |
thanks for the Silent Feature Takhir |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
NSISdl uses "files" page for progress bar and status display. My variant uses it's own dialog window and may work even from .onInit function (without installer page) - I know situations when this is important. And I guess it is better to use more space for all these numbers and names displaying - url, local file, file size, done, transfer rate, remaining time, total time, percents. Another words I'd like to keep my dialog |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
In the latest CVS version, NSIS passes the silent flag which you can check. __________________ |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
Situation: program requires system SP to be installed ( >100 MB), this was found in .onInit function, but where to download SP? File copy page IMHO is not good place for this, might be better to do this after License page or even in .onInit function. But where to show progress bar if Installer’ dialog window not exists yet or have some other controls in this place (middle of the box). Or developers must create custom page for plug-in? I still guess that dialog box is better way (while dialog design is ugly ). Also: when user closes plug-in dialog window, plug-in’s main (dialog) thread tries to stop or terminate i/o thread – not bad when i/o hangs. When embedded to installer page this is not so obvious.
|
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
No files should be downloaded in .onInit and anywhere else but the instfiles page. In my opnion, that's an annoying installer. I prefer installers to start "installing" only once I click install and verify all the parameters. But that can an option. __________________ |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
I saw new progress bar created by NSISdl, but this is OK on instfiles page only, where this place is free. On the instfiles page - yes, this works fine. |
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
The dialog area is free when a plug-in is called inside a custom page callback function. __________________ |
||
|
|
|
grahama Senior Member
Registered: Sep 2004 |
for myself, I use banners in the beginning to alert the user of a version check....I download an ini file and compare it to the values in the registry...because the inetLoad plugin is larger the banner...it looks a little strange...This is only cosmetic, but I thought it was worth bringing up |
||
|
|
|
grahama Senior Member
Registered: Sep 2004 |
Ok, I went over to Univision's [the client] corporate office and inetload did not work with their proxy network |
||
|
|
|
Jnuw Senior Member
Registered: Sep 2004 |
I'm having a problem too with my work's proxy. When i try to use inetload to download a text file, the text file's contents are overwritten with the page can not be display message, and the following: |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
It’s not easy to debug program if you cannot touch the problem with your own hands J
|
||
|
|
|
Jnuw Senior Member
Registered: Sep 2004 |
SUCCESS!! Your new inetload cut right through my company's proxy! Thank you so much Takhir. |
||
|
|
|
Jnuw Senior Member
Registered: Sep 2004 |
Takhir, I found a minor issue. Your plugin is still working beautifully, and getting through my proxy with out any problems, so thanks again. |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
Could not reproduce with 2.02 - works fine, but this happens with 2.03 (on my home Win98SE) |
||
|
|
|
Jnuw Senior Member
Registered: Sep 2004 |
No problem Takhir, thanks for looking into the minor problem. I don't mind running your plugin in non-silent mode, which corrects the problem. I'm still very pleased that your plugin gets through my proxy, so thanks again. |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
You can simply download and install 2.02 version - InetLoad worked fine with it silent mode. Problems appears in 2.03 only (and this not the first situation with 2.03).
|
||
|
|
|
kichik M.I.A. [NSIS Dev, Mod]
Registered: Oct 2001 |
extra->exec_flags->silent != 0 is the most reliable way to detect silent installers. That is what NSIS itself uses. __________________ |
||
|
|
|
grahama Senior Member
Registered: Sep 2004 |
great |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
I'll think about command line switch to support both modes |
||
|
|
|
Afrow UK Moderator
Registered: Nov 2002 |
__________________ |
||
|
|
|
mrtech Junior Member
Registered: Oct 2002 |
I just started using this little dittie, but had to put the whole dialog into silent mode. With the ns dl'er the full path was that was downloading was not shown, I preferred that. Is there a switch you can add for /hideurlprefix or /showfilenameonly or something like that, thanks. |
||
|
|
|
Takhir Major Dude
Registered: Feb 2004 |
First draft, but I could load some files with it
|
||
|
|
|
Afrow UK Moderator
Registered: Nov 2002 |
I tried the plugin with the NSISdl interface. I found one problem...
__________________ |
||
|
|
|
| Pages (9): [1] 2 3 » ... Last » |
Last Thread Next Thread
|
WINAMP.COM | Forums > Developer Center > NSIS Discussion > http + ftp download plug-in |
Forum Rules:
|