Provided by Christ Notes
Bible Search

November 3, 2006

w2w version 0.95

I have updated w2w to resolve a bug that occured when used on a directory with many files in it (such as an actual website... :-) ).

Many thanks to Reborg for his help with debugging!
Posted 16 years, 10 months ago on November 3, 2006
The trackback for this post is disabled

Re: w2w version 0.95
Hi!

The quick answer is yes, w2w knows which pages were truly modified since it only looks at the content of the file. However, the first time you use w2w, it unfortunately has to upload everything. The way it keeps track of which files are changed is that it keeps an internal database of all the files (the name and the checksum) and compare the actual file to what it looked like last time the site was uploaded. If it can't find the file in the database w2w will upload it, which is why it will upload the entire site the first time.

You should be able to "trick" it though, to skip the initial upload. If you prepare an upload entry, but instead of the remote address you put in localhost and your local username and passwd and for example Desktop/test/ as remote path. Then turn on the ftp-server on your computer (from System Preferences) and press "upload" in w2w. This should copy everything from your "Publish-to-folder" to the new folder (Desktop/test/ or whatever you put in) and at the same time putting every file in the database of w2w. If you then change the remote address, username, passwd, and path to your actual server, w2w should remember the files anyway and your set. To do this, your "Publish-to-folder" should be up to date with the folder on the server, since w2w will assume that this is the case.

Regards,
Fredrik
Posted 16 years, 9 months ago by Fredrik Wallner • • wwwReply

Add Comment

( to reply to a comment, click the reply link next to the comment )

 
Comment Title
 
Your Name:
 
Email Address:
Make Public?
 
Website:
Make Public?
 
Comment:

Allowed XHTML tags : a, b, i, strong, code, acrynom, blockquote, abbr. Linebreaks will be converted automatically.