Reputation: 506
In deployment PhpStorm (7.1.2) cant upload any files with FTP.
Error says "Failed to collect files: Could not determine the type of file"
both with gif and php file.
idea.log:
2014-08-06 08:00:38,590 [ 384809] WARN - ins.webDeployment.TransferTask - Could not determine the type of file "ADDRESS_OF_FILE.php". org.apache.commons.vfs2.FileSystemException: Could not determine the type of file "ADDRESS_OF_FILE.php". Caused by: java.net.SocketTimeoutException: Read timed out
Upvotes: 6
Views: 9455
Reputation: 465
my problem was very similar but it was about configuring SFTP. Inspired by the solutions above, I solved it as follows:
On MAC:
If the problem still remain,
Upvotes: 0
Reputation: 699
I faced the same error even after setting "Passive mode" in "Advanced options" for FTP connection.
Main Menu: Tools -> Deployment -> Configuration
"Advanced options" button
Check checkbox "Instead of MLSD".
(I was also facing issue of uploading only new files which were not existing on server before. this option will fix the issue. ) Have a safe phpstorming ahead.
Upvotes: 4
Reputation: 506
I guess it was all my fault.
After setting "Passive mode" in "Advanced options" for FTP connection all works fine.
Main Menu: Tools -> Deployment -> Configuration
"Advanced options" button
Check first checkbox "Passive mode"
Upvotes: 9