Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

CityDesk needs an scp option

FTP is inherently insecure.  Many web sites now require ssh access instead of telnet and scp file transfer instead of FTP.

The problem with publishing to disk and then transferring to the server, is that you lose one major reason to own CityDesk--the ability to automatically expire articles on the server (you would have to manually remove files on the server that have been deleted on the client side).

David Burch
Saturday, January 04, 2003

It's weird to be replying to myself.  But....
I still think CityDesk needs a SCP option, however, I found a nifty work around that in some ways is better.

I use the UNIX rsync command over SSH (there is a version compiled for windows).  I publish CityDesk to a directory then run rsync to move the directory to the server.  What makes this work is that rsync has a --delete option that removes files from the server that are not on the client.  So, when I remove a file in CityDesk, it will be removed from the server.

http://optics.ph.unimelb.edu.au/help/rsync/rsync_pc1.html

David Burch
Sunday, January 05, 2003

Take a look at RTidy/CityDesk on my website

http://www.halostatue.ca

This is primarily centered around running "Tidy", but you'll note that I have an "automatic" FTP upload. This could, conceivably, be extended to support scp, but as I don't have an account that requires it, I haven't taken the time to learn it.

The source to RTidy/CityDesk is open source (Mozilla PL 1.1), so you're welcome to get the source and hack around a bit, and I may see what I can do to add scp support. However, I'm very busy with other projects at the moment, so it may be a while before I can do anything toward that end.

-austin

Austin Ziegler
Monday, January 06, 2003

*  Recent Topics

*  Fog Creek Home