load ftp directories into project?

FTP, SFTP, FTPS, and SSH/telnet console issues

load ftp directories into project?

Postby impostal22 » Fri Apr 27, 2007 7:41 pm

Is it possible to load an entire ftp directory into a project, preserving the subdirectory structure?

Or do I have to go "Add folder", open the appropriate files, then right click this folder in the project pane and click "+ Open Files", then repeat this for all subdirectories?

Please let me know. I haven't had much luck getting responses on this forum yet :(
User avatar
impostal22
Newbie
 
Posts: 5
Joined: Sun Apr 01, 2007 11:00 pm

Re: load ftp directories into project?

Postby Bego » Sun Apr 29, 2007 7:02 pm

Well, just have a quick look to the structure of a project file:

Code: Select all
...
[Files]
0=FTP::machinename\/home/userxy/path|file01
1=FTP::machinename\/home/userxy/path|file02
2=FTP::machinename\/home/userxy/path|file03
...



1st: So if you list the files you need via > into a file, paste the result into a prj-file, you can quickly add dozens of files into your self made project file. It's just easy.

2nd: Show me a forum where you gain MORE FREE SUPPORT than in this one.

I hope I adressed your problem correctly.

Hth, Bego
User avatar
Bego
Master
Master
 
Posts: 357
Joined: Wed Nov 24, 2004 12:00 am
Location: Germany

Re: load ftp directories into project?

Postby impostal22 » Sun Apr 29, 2007 8:11 pm

does that preserve the ftp client's existing directory structure?
User avatar
impostal22
Newbie
 
Posts: 5
Joined: Sun Apr 01, 2007 11:00 pm

Re: load ftp directories into project?

Postby Bego » Mon Apr 30, 2007 6:32 am

I think I don't really see the problem of "preserving client dir".
Surely, the directory on the Unix-machine stays untouched.
You just tell UE: Let me load all the files FROM this or that Unix directory. You then can manipulate those files and write them back DIRECTLY to the Unix-machine.
There is no "local dir-structure" to preserve.
User avatar
Bego
Master
Master
 
Posts: 357
Joined: Wed Nov 24, 2004 12:00 am
Location: Germany

Re: load ftp directories into project?

Postby impostal22 » Mon Apr 30, 2007 11:20 am

But I want to have the project's directory structure mirror the directory structure of the server. I don't want all files clumped into one folder, because that wouldn't be very efficient...

Is there a way?
User avatar
impostal22
Newbie
 
Posts: 5
Joined: Sun Apr 01, 2007 11:00 pm

Re: load ftp directories into project?

Postby jorrasdk » Mon Apr 30, 2007 12:42 pm

Hi impostal22

You don't say which UE version you use. I use UE13a and here is how I deal with a FTP directory:

a) In your project, choose "Add to project..."
b) and then "new folder...".
c) Choose a folder on your harddisk that is going to serve as a local replica root of the ftp directory.
d) uncheck "group"
e) check "Link folder to FTP"
f) choose your already prepared FTP account
g) Enter remote ftp directory root in "remote path"
h) Enter a number for "maximum recursion level" - how "deep" in subdirectories do you want to go.
i) If relevant enter a "server clock skew" (press F1 for futher info on this)

then "OK"

Now your local replica folder structure and the ftp directory is linked.

j) now right click on the folder in your project view and choose "download from server". (Use "filter" if you are only interested in certain types of files).

k) Now open and edit files from the local replica of the ftp directory.

l) Whenever you are satisfied with your changes, right click on the local folder in the project view and choose "Upload to server" or "Upload with sync" (btw, I find the UE help somewhat quiet about this "sync").

(Upload - download dialog can be invoked with right click on lower level folders as well as single files thenselves).

(I do not use any version control systems like SVN or CVS).

impostal22, maybe there is something of relevance to your situation in the above?

Cheers, Jorrasdk
User avatar
jorrasdk
Master
Master
 
Posts: 275
Joined: Mon Mar 19, 2007 11:00 pm
Location: Denmark

Re: load ftp directories into project?

Postby jorrasdk » Mon Apr 30, 2007 12:47 pm

And there is a power tip here on the UE site for the procedure described above :

Link Remote Directories to Local Directories
User avatar
jorrasdk
Master
Master
 
Posts: 275
Joined: Mon Mar 19, 2007 11:00 pm
Location: Denmark

Re: load ftp directories into project?

Postby hthyme » Wed Jul 25, 2007 7:11 am

How about a less complicated approach (even though I like and use the local-link option frequently) as other editors are doing - I think this is why this question was posted initially:
How about simply dropping a (s)FTP-directory to the project, enabling the user to access all files 'below' this remote directory WITHOUT the need of sync'ing things to a local drive and uploading after change ? Filters could be applied (like 'webfiles', 'all files' or by extension and more) easily. You are directly working on the files (as with linked FTP files) and have ALL files in direct access ...
Have a look to Zendstudio (they are doing it like this) and *please* take over this functionality to UE. This is very helpful for firefighting huge remote projects...
User avatar
hthyme
Newbie
 
Posts: 1
Joined: Tue Jul 24, 2007 11:00 pm

Re: load ftp directories into project?

Postby lance » Thu Sep 25, 2008 4:34 pm

Regarding the first post made by jorrasdk, Thanks! I was looking feverishly for the way to do this - couldn't believe that you couldn't load a "project" of files up to an FTP site (like you can with my clunky old Codewright 6.5). It seems like Add to Project ->New Folder is a pretty obscure place to put this - looked past it many times. Oh well, thanks much (you caused me to create a login just so I could say Thanks! :-)
-- Lance
lance
Newbie
 
Posts: 1
Joined: Thu Sep 25, 2008 4:22 pm


Return to FTP/SFTP / SSH/Telnet