pwb.ini - call file from webserver ?
Moderators: Tyler, Scott, PWB v2 Moderator
pwb.ini - call file from webserver ?
I'd like to be able to call the PWB.INI file from a webserver - i.e.
http://www.mysite.com/pwb/pwb.ini
Client PC is Windows 2000
Whats the best way to do this? any thoughts anyone?
http://www.mysite.com/pwb/pwb.ini
Client PC is Windows 2000
Whats the best way to do this? any thoughts anyone?
I do something like that by using a URL to start another instance of PWB with a different .ini file. I use an old utility called W3Launch which is a little quirky but works well once configured. Java, javascript, or VBscript applications could potentially work as well if you keep in mind the security risks inherent in starting applications from a web link.
Chris
Chris
I added support for URL INI files in PWB v2.06. You enable the URL INI files by specifying /URLINI on command line.
Example:
...PWB.EXE /INI=C:\PWB\INI /URLINI=http://www.teamsoftwaresolutions.com/PWB.INI
You must specify a URL in the command line before specyfing a URL INI.
http://www.teamsoftwaresolutions.com/beta/PWBv206.zip
By the way, PWB supports built in External Dynamic Java Commands, one of which, JavaExecute, can launch applications form a web page.
--Scott
Example:
...PWB.EXE /INI=C:\PWB\INI /URLINI=http://www.teamsoftwaresolutions.com/PWB.INI
You must specify a URL in the command line before specyfing a URL INI.
http://www.teamsoftwaresolutions.com/beta/PWBv206.zip
By the way, PWB supports built in External Dynamic Java Commands, one of which, JavaExecute, can launch applications form a web page.
--Scott
PWB downloads the file from the URL to the file spcified by the "/INI". If the web server is slow it may take a few seconds for the file to download. You may want to use the "/s" switch to enable the splash screen.
The URL INI is a new addition to PWB please let me know if it is working as expect.
--Scott
The URL INI is a new addition to PWB please let me know if it is working as expect.
--Scott
The URL INI is new, not fully documented yet, and you need to be using PWB v2.06. In order to use it PWB needs to know the URL of the file and where to download the file to. Where the file is downloaded to is specified in the /INI command line argument.
This will make your command line similar to this.
D:\PWB\PWB.exe /INI=D:\PWB\URL.ini /URLINI=http://www.teamsoftwaresolutions.com/PWB.INI
Make sure the account has write access to the /INI file. You may want to use the splash screen as it takes a few seconds for the INI to download.
BTW: I just posted a new v2.06 beta today.
--Scott
This will make your command line similar to this.
D:\PWB\PWB.exe /INI=D:\PWB\URL.ini /URLINI=http://www.teamsoftwaresolutions.com/PWB.INI
Make sure the account has write access to the /INI file. You may want to use the splash screen as it takes a few seconds for the INI to download.
BTW: I just posted a new v2.06 beta today.
--Scott
syntax
I am using 2.06
Here is my current syntax
"C:Program Files\TeamSoftware Solutions\Public Web Browser v2\" /INI="C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\URL.ini" /URLINI="http://166.212.250.194/pwb/pwb.ini"
Am I even getting close? Are the "s necessary in V2.06?
Sorry for being a rube.
Here is my current syntax
"C:Program Files\TeamSoftware Solutions\Public Web Browser v2\" /INI="C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\URL.ini" /URLINI="http://166.212.250.194/pwb/pwb.ini"
Am I even getting close? Are the "s necessary in V2.06?
Sorry for being a rube.
Is PWB giving an error message?
Try this...
"C:Program Files\TeamSoftware Solutions\Public Web Browser v2\PWB.exe" /INI="C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\URL.ini" /URLINI=http://166.212.250.194/pwb/pwb.ini
I added the PWB.exe and removed the quotes from the /URLINI argument.
For testing, try using...
/URLINI=http://www.teamsoftwaresolutions.com/PWB.INI
--Scott
Try this...
"C:Program Files\TeamSoftware Solutions\Public Web Browser v2\PWB.exe" /INI="C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\URL.ini" /URLINI=http://166.212.250.194/pwb/pwb.ini
I added the PWB.exe and removed the quotes from the /URLINI argument.
For testing, try using...
/URLINI=http://www.teamsoftwaresolutions.com/PWB.INI
--Scott
reaching out?
Scott,
In watching the packets, it's not reaching out to the server(s) to try to get the INI file. I tested after making the change to the version check line.
Ryan
In watching the packets, it's not reaching out to the server(s) to try to get the INI file. I tested after making the change to the version check line.
Ryan