[TxMt] project over FTP

Allan Odgaard allan at macromates.com
Mon Nov 8 13:44:45 UTC 2004

On 7. Nov 2004, at 22:02, M Spreij wrote:

> Unless I missed something (which, today, wouldn't surprise me in the 
> least..) it's not possible to create a project from a remote folder 
> over (S)FTP, is that correct? From what I understand of FTP and ODB 
> this won't be easy to implement?

No, it probably won't -- there is an Interarchy extension to the ODB 
Editor Suite which allows the text editor to initiate file editing, but 
I don't know how many (ftp) programs support this (BareBones doesn't 
document it in their SDK).

> Has anyone found a way to mount FTP folders as regular folders in the 
> finder (with read/write, not Apple's readonly way)?

I've read on this list that Interarchy supports mounting ftp disks with 
read/write, and I think Sune told me he'd used it previously.

> A workaround I got was to open the files seperately, then dragging the 
> window's icons to a new project window (or if you open its parent 
> folder from the titlebar you can drag all the opened files to TM), 
> selecting the files in the project window once so they get a tab, and 
> then you can close the original windows - edit/saves will update the 
> version on the server. If you close the original window without 
> 'tabbing' the file, the temporary file will be removed (and editing 
> will not be possible).

Yes, there are two events that TM sends, one when TM saves the file, 
and another when TM closes the file -- the latter event (generally) 
causes the (ftp) program to remove the temporary file.

I guess I could postpone “closing” the file till e.g. TM exits -- 
though currently the “document” really is closed and disposed in TM, so 
I'd need to change some code for this to actually work, and since it 
really is just a workaround for not having native-support, which is 
around the corner, I don't think I'll be spending much time on 
improving this currently.

More information about the textmate mailing list