Im trying to configure my PHPstorm with FTP so after a file is saved, it needs to be uploaded to the host. I can connect (i did the test) but i can't upload a file unless i change the file permission to 777 of my file. Any idea how this is possible? Here is the error:
[31/01/16 17:11] Failed to transfer file '/Applications/XAMPP/xamppfiles/htdocs/yventure.nl/app/Http/Controllers/Website/HomeController.php': cant open output connection for file "ftp://mm.server/app/Http/Controllers/Website/HomeController.php". Reason: "550 app/Http/Controllers/Website/HomeController.php: Permission denied".
[31/01/16 17:11] Automatic upload completed in less than a minute: 1 item failed
EDIT: i've enabled passive mode already
From the Upload changed files automatically to the default server list, choose when you want PhpStorm to upload changed files: To upload any manually or automatically saved file, choose Always. To upload only manually saved files, choose On explicit save action. To suppress automatic upload, choose Never.
PhpStorm shows the logs in the File Transfer tool window ( View | Tool Windows | File Transfer ). In the Project tool window, right-click a file or folder, then select Deployment | Upload to from the context menu, and choose the target deployment server or server group from the list.
For downloading files and folders, PhpStorm supports only the manual mode. PhpStorm shows the logs in the File Transfer tool window ( View | Tool Windows | File Transfer ).
Select Delete remote files when local are deleted to have PhpStorm automatically delete remote files during automatic uploads in case the local ones are deleted. Note that this option serves as an extra safety measure and may result in unwanted files remaining on the remote server.
I had same issue. I solved it
with "Passive Mode" in "Advanced Options" in Deployment >> FTP settings.
you must try and valided :
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