Summary More Info FAQ Downloads
Frequently asked questions1) Why doesn't PushSite work with a xxxxxx server?
2) Why doesn't PushSite work with a xxxxxx client?
3) How do I upload pages with dynamic content?
4) I keep getting "was expected but not found at remote" errors.
5) Pushsite does not send all of my files.
6) Couldn't PushSite do more to validate files?
7) Why doesn't the Windows version do xxxxxx?
8) Can I get PushSite to run automatically?
9) How do I update multiple remote systems?
10) PushSite connects OK but doesn't change any of the files
11) Pushsite just hangs
12) Can I sell PushSite?
1) Why doesn't Pushsite work with a xxxxxx server?Because I didn't have one to test it on. If you can mail me your ls.local, ls.$www and pushsite.conf (password removed please) then I can try to fix it for the next version. Please supply as much info as possible - server OS & version, server ftpd version, preferably, the sample output of `ls -lR` (ls.remote) to include at least one subdirectory with files. 2) Why doesn't Pushsite work with a xxxxxx client?See previous answer. However it is less likely that I will port the program to a client which is not compatible with the current version.
Of course if anyone wants to oil the wheels a little.....
3) How do I upload pages with dynamic content?
This is really two seperate questions. The first, and easiest to answer, is where you wish to copy your files over to the server exacly as they are on your hard disk e.g. if you have a PHP enabled apache server on both machines - you don't need to do anything - Pushsite will handle that automatically. Of course if your pages talk to a back-end database, then you'll need to make your own provision for updating the remote database. You can get the date of the last upload from the timestamp on the ls.$www file.
If you have generated pages that you want to publish as static documents, then you'll need to use some other tool to dump them to normal files (I find pavuk great for dumping websites to my local hard disk). Please note that it is almost inevitable that every such page will be updated everytime you pushsite tho.
4) I keep getting "was expected but not found at remote" errors.The program does not understand filenames which have spaces in them - if you have a file called "My Groovy Tune.mp3" then Pushsite will try to send "Tune.mp3" to the remote system. 5) PushSite does not send all of my files.See answer to previous question. Also try running in verbose mode and make sure it is the latest version of the executable which is running, and that it is using the correct conf file. e.g.
[user@mysystem userdir]$ pushsite -t -v pushsite version 2.5 Using /etc/pushsite.conf last run at Fri Jul 14 13:53:33 2000 total 4912113 bytes in 266 files no warnings
6) Couldn't Pushsite do more to validate files?Probably not. Scanning for illegal words is a quick fix to the only validation problem I have which is NOT accounted for by linbot; that problem being that a url has an absolute reference to the machine the site is being pushed from. Linbot does a great job of checking links and is useful for cataloging and checking your site. It's free (GPL) too! you can get it at http://starship.python.net/crew/marduk/linbot/ although the last time I looked the homesite had been taken down to avoid legal action.
But feel free to hack the code to add your own file validation routines but remember that you need to publish any changes you make to the GPL version
7) Why doesn't the Windows version do xxxxxx?I originally designed PushSite to run on Linux. The installations I use everyday run on Linux. Perl was originally designed to run on Unix. PushSite harnesses the functionality of standard Unix programs to provide a lot of its functionality. As a result of these considerations PushSite may often have less functionality on a MS Win platform. I'm afraid that I haven't got them time nor resources to maintain a fork to the original code. 8) Can I get PushSite to run automatically?You can run PushSite from cron or at, if you use pppd to set up a dial up connection to the internet then you can ask pppd to run it when the link has been set up (see the pppd man page).
For those on a Win32 platform - it should be possible to run PushSite from the scheduler or NT's "at", but this has not been tested. I don't know any way to get PushSite to launch a dial-up connection nor can the dial-up software run PushSite.
9) How do I update multiple remote systems?Just run PushSite with a different config file for each system. Note that if your running on Win32, you'll need to work out the syntax of how to specify a config file on the command line (or whatever tool it is you use to start PushSite). 10) PushSite connects OK but doesn't change any of the filesOn some systems there is a limit to how frequently one can logon to a service. PushSite up to v 2.5 runs 2 ftp sessions sequentially; the first gets a file listing, the second performs the changes. Check which version you are running. If it is not 2.6 then upgrade now - there are other benefits too. 11) PushSite just hangsTry running with -vv to detect exactly the point at which it hangs. See also 10 PushSite connects OK but doesn't change any of the files 12) Can I sell PushSiteThis version of PushSite is provided as GPL making it illegal for you to charge more than 'reasonable' copying costs. The same software is also available under a paid for licence allowing you to resell it.
If you want to charge a customer for the software in its original or amended forms you need to buy a commercial licence.
Note that you may also need to buy a licence if you modify the source code for a client and DO NOT RELEASE the changes as GPL.
The GPL licenced PushSite can be included in commercial (non-GPL) distributions provided that PushSite and/or its functionality for remote update and checking of filesystems/websites is explicitly mentioned in the advertising or packaging of the distribution, although direct reference may be made to PushSite in the supplied documentation.