Reputation: 553
the above is the screenshot.
i have set the FTP, the FTP connected ok, when i double clicked the FTP icon. it can't show all the files and directory of the server,i want to change some code of a file which from the remote server, why?
Upvotes: 23
Views: 36083
Reputation: 4092
For me, enabling passive ftp didn't fix the grayed out ftp buttons. I did this:
Tools > Deployment > Configuration > Mappings
Then it worked, the buttons [Upload to], [Download from] were not grayed out anymore.
Upvotes: 8
Reputation: 995
Don't use 'Remote Host' panel.
Try 'Deployment':
Menu Tools -> Deployment -> Configuration
There you can define many (S)FTP servers, use mappings, webpath. You have to fill "Mappings" page which helps phpStorm to figure out where and how exactly local files should be sent to FTP path.
If you will configure it correctly (which is quite simple) you can now enable "Automatic Upload" which activates files uploading after each "Save" option! You can also manually upload particular files from "Project" pane by RigthClick->Upload
If upload options are disabled (greyed out) try opening configuration again, select server from the list on the left and choose icon 'Set as default' (the 4th icon above left panel - server with green tick)
Automatic upload works like a charm in phpStorm!
Upvotes: 22