Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

Checkpoints For Uploads

I changed a few templates in my site ( this week, so nearly every page needed to be uploaded again when I published.

Then I ran into a problem - due to either my internet connection or my server's load, the FTP connection dropped out at some point during publishing. Because the CityDesk XML file is updated right at the end of an upload, when I republished every file needed to be sent again. This happened five times in a row (d'oh!). CityDesk had no way of knowing that most of the files had already been sent. Being on a dialup connection, this was painfully slow!

This is only really a problem when there are lots of files to upload, so I'd like to propose a fairly simple solution. After every, say, 20 files are successfully FTPed to the server, it would be nice if CityDesk could update the XML file. This way, if an upload fails at some point, the next publish operation won't need to resend every file - just the ones since the last checkpoint.

What do you think?

Darren Collins
Wednesday, January 09, 2002

Good idea!

Joel Spolsky
Wednesday, January 09, 2002

*  Recent Topics

*  Fog Creek Home