URL.txt on a web server

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
dryhops
Observer
Observer
Posts: 2
Joined: Mon Jan 21, 2008 6:26 pm

URL.txt on a web server

Post by dryhops »

I've seen all of the posts on downloading a PWB.ini file from a web server using the command line and have successfully implemented that. What I can't see is what the command line syntax for downloading a URL.txt file from a web server is.

Thanks.

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

There is not a syntax for downloading a URL filter file from a web server. The INI file needs to use the command line because PWB downloads the INI file before running. In the case of the URL filter file, PWB runs before the filter file is read.

To use a URL filter file from a web server, enable the web files and set a path to the URL filter file.

[WebFiles]
EnableWebFiles=True
CheckURLFile=http://www.teamsoftwaresolutions.com/WEBURL.txt


When a webfile URL is specified PWB will download to the location for the file specified in the [Files] section.

[Files]
CheckURLFile=C:\Program Files\TeamSoftware Solutions\Public Web Browser v2\URL.txt


--Scott

dryhops
Observer
Observer
Posts: 2
Joined: Mon Jan 21, 2008 6:26 pm

Thanks!

Post by dryhops »

Thanks. That worked perfectly.
Great product!

Komputr
Observer
Observer
Posts: 2
Joined: Wed Mar 12, 2008 1:00 pm

missing file

Post by Komputr »

What happens in PWB when the file/server specified in the [WebFiles] section is not available? Does it use the old local copy specified in the [Files] section? Are any errors displayed?

Thanks! :)

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

PWB will use the current (old) INI file available on the local computer. There is no error message displayed.

The next time PWB is restarted it will attempt to get the INI file from the server again.

--Scott

Post Reply