Edita + pFTP
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Nov 22, 2006
- 538 views
I've uploaded Beta version 0.3 of pFTP: http://palacebuilders.pwp.blueyonder.co.uk/pftp.htm I believe I fixed the problem with two ".." entries, got all the resize logic working, change (remote) attributes, and it now shows hidden files (on the remote site). Assumption #1: pFTP will be installed into same location as edita.exw/e, hence: pFTP can read/update edita.edb Edita can read/update pFTP.edb pFTP can invoke Edita if not already running Edita can invoke pFTP if not already running pFTP and Edita will "speak the same language". Now, what mods are needed to Edita "FTP-enabled"? What buttons/options are missing from pFTP? What buttons/options are missing from Edita? Do you want to flag files as 'local=master', 'local=none', 'remote=master', [remote=none makes no sense, does it?] and/or directly tie local<=>remote? (Perhaps I should explain that: local=none would mean 'edit it in a temp directory under a unique[idx'd] name'. Eg If I edit two index.htm, then Edita will show index.htm[2] (or maybe index[2].htm) for the second, but put it back where it belongs on save/close. No equivalent for remote.) Better, do you want to mark selected remote files[&sites] as 'editable'? (obviously there's little point allowing download/edit[a] of .zips) What safeguards are needed such that if either or both crash, then after a system reboot things generally pick up where they left off? (I am of course already thinking of storing state/to-do lists in one or both of those .edb files, more/very specific details are required, and actually I'm asking myself that question mostly.) Basically, I think I've licked the hard bit, someone else write spec. One thing I will say, is that while I feel no need to allow someone in Edita to enter ftp site/port/username/password on-the-fly, it is not technically difficult to swap between apps like I do with print preview, window painter, and database viewer/verify, virtually seamlessly. Meanwhile, I'm off to play with treeviews for a while, no doubt there'll be an associated round of updates I'll want to make to Edita Regards, Pete