Andr3as / Codiad-CodeTransfer

A small ftp/scp client plugin for Codiad
MIT License
12 stars 8 forks source link

Open project by FTP #4

Closed imperd1x closed 10 years ago

imperd1x commented 10 years ago

Hey guys,

i have other suggestion to better codiad.

Actually we can create project by workspace, folder on same server or github repository.

So, i would like to suggest add connection by FTP. So if we can add project by FTP was awesome.

Tnks!

Andr3as commented 10 years ago

I don't understand what you mean: Do you want to create a remote project, hosted on a second server and edit from your Codiad server (first server) or do you want to "clone" a project over ftp into your workspace?

imperd1x commented 10 years ago

Yep, i would like create a remote project, hosted on a second server and edit from your Codiad server (first server).

example: Codiad was hosted in example.com and i would like with example1.com and example2.com

Can you do this ? was awesome!

Andr3as commented 10 years ago

I do not think this is possible and that it is necessary. To create this it would be necessary to overwrite nearly every function of Codiad. Check something like gvfs or curlftpfs to mount your ftp directory to your codiad server.

cheiff commented 9 years ago

Hi,

just looking for some advice /idea for mounting the ftp directories in the codiad server with curlftpfs. I can add a function when codiad loads that checks for the remote projects and mounts them so the user can access those projects. I think I know more or less how to do that. But, how could I detect that the user is not using them anymore and then unmount them? I am thinking of adding some sort of cron task that checks for "unmountable" directories and unmounts them, but how could I mark them as unmountables? Let's assume that the user is not signin out, just letting the session stale. Does it make sense to use the poller to do some sort of updating e.g. a file per user and then externally check that if that file hasn't been updated in a while, it would be safe to unmount the remote folders? Does any of this make sense? How do other remote editors handle this? What would be the problem of leaving those connections stale?

Any comment will be welcomed, thanks!

neocamel commented 8 years ago

I know this is an old thread, but I'm looking for something similar and was wondering if anyone ever figured this out?

Ideally, it would be great if remote FTP folders could be listed in the 'projects' window, so I can make edits to remote servers from my codiad install. I suppose I could install a separate copy of codiad on that remote server, and just access it from their IP, but it would really be ideal if I could have all my FTP connections consolidated in one codiad install.

Sort of how CodeAnywhere allows you to set up remote projects?