Creating new Remote Project but don't download all files

I am trying to create a new project from existing files, using an FTP server as my host. I would like to be able to login as root and have access to my entire directory. However, I do not wish to download every file locally, but have the navigation function as a live view of the current remote structure. That way, I can load up the project in PHPStorm, and then I can have direct access to multiple account's files. Anyone know how to do this?

6 comments
Comment actions Permalink

There is a point at which you are selecting the "project root" on the remote server. Once you do that, you can go further down and mark "exclude" on certain files or directories. There is an exclude button on the tool bar.

http://blog.jetbrains.com/webide/2011/09/excluded-paths-in-web-server-configuration/

0
Comment actions Permalink

When I exclude a directory it is no longer visible in the sidebar tree of files. I would like to still be able to see all files/directories, but not download the contents.

0
Comment actions Permalink

The files would not be listed under the project, however on the right side (when status bar is shown) there is a database tab and a remote host tab. If you click the remote host tab you can browse the ftp site files but you cannot edit them.

0
Comment actions Permalink

Hi there,

Instead of using New Project Wizard (in case if you find it inconvenient/confusing) .. consider doing all things manually (time is about the same .. just you will have full control over it):

  • Create empty new local project
  • Configure remote host details at "Settings | Deployment" -- do not forget to mark it as Default for this project
  • Now you can browse it using "Remote Host" tool window (if not there -- Tools | Deployment | Browse Remote Host)
  • You can download any files/folders you wish


Note that you cannot edit files directly over FTP/SFTP/etc -- this IDE is built around "working with local files" approach. You will have to download file first and then you can edit it. http://youtrack.jetbrains.com/issue/WI-1398

1
Comment actions Permalink

Ok that makes sense. I was trying to use the IDE as a built-in FTP editor. Thanks for all of the suggestions!

0
Comment actions Permalink

I'm new to using an IDE my self. I used to do all my editing on the sever using the ftp plugin on notepad++

It was serviceable but now that I have my local evironment set up for testing and easy ways to replicate my sites databases to my local databases the advantages of this thing are amazing.

Now I'm using git vcs for all my projects too. I feel like an actual developer now <3

0

Please sign in to leave a comment.