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?
Alternatively, from the main menu, select Tools | Deployment | Configuration.... and select the server configuration type depending on the protocol you are going to use to exchange the data with the server. FTP: choose this option to have PhpStorm access the server via the FTP file transfer protocol.
You can configure the following settings on the General tab: Host Name: The host name or IP address of the Remote Host to connect to. If the host name entered in a Static Router filter matches this host name, the connection-specific settings configured on the Remote Host dialog are used when connecting to this host.
Click on "Advanced Options..." and toggle "Passive Mode".
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!
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With