PHPStorm connect to remote server but no file listin
Answered
I have a site on a server that allow me to connect via FTPS it' connect but it doesn't list files, using Filezilla i can ftp normally. I tried every possible setting and suggestion in other older thread but with no luck. Activating the debug for FTPS doesn't show any log
Please sign in to leave a comment.
We need to check extended IDE logs for that. Please open Help > Diagnostic Tools > Debug Log Settings... and add following lines:
Reproduce the issue, run Help > Collect Logs and Diagnostic Data, upload resulting archive to https://uploads.jetbrains.com/ & let us know the upload ID.
This is the upload:
2021_05_18_EDdZMfQJvgEUa1gU
But as i said there is no info in logs
Thanks. Your server doesn't permit LIST command for some reason:
What FTP server module is running there?
Please enable FileZilla debug (4) logging & try to connect & list directories of this server. Then share filezilla log: either here or upload it as a text file to https://uploads.jetbrains.com/
Here it is the filezilla log
2021_05_18_AJb7bMfaXf3vRL2g
Looks like it's using MSLD but i tried to disable list on phpstorm instead of msld but same result
Thanks.
Please check if switching to Data channel protection level: Clear helps. Also please check if "Compatible with old version of listing children" makes any difference.
Nope with Data channel protection level: Clear it doesn't connect at all, checking or not "Compatible with old version of listing children" give same results: no listing
Any chance to share what FTP server is running there exactly? Like proFTPd, vsftpd, etc...
No sorry non in easy and fast way, it's my first time i have similar problem, wondering why Filezilla works perfectly
Is there an option to connect to it over plain FTP & check if that works?
Please also open FileZilla settings again and:
- enable 4-level logging again at "Debug"
- enable log writing to file at "Logging"
That way logs will be really full. Please upload the filezilla log again after that.
Here it is
2021_05_18_U3Ch324WizW5dFJz
Do you have "Reuse SSL session" checkbox enabled in FTPS server settings?
Did you check if simple FTP connection works, or does this server require secure connection?
As i said in the topic open i tried all the options, then Resuse SSL session checkered or not givews same results. I can't try plain FTP the server allows access only on FTPS
Thanks.
After checking this once again we've noticed that your server doesn't return neither LIST nor MLSD in a "FEAT" command reply. We're using this reply to determine if MLSD or LIST should be used. If nothing is returned we're using LIST.
I've submitted a feature request to improve the handling of this: https://youtrack.jetbrains.com/issue/WI-60550
The only solution I see here is to modify FTP server config for it to return a proper FEAT reply.
Thanks, i'll submit the problem but i don't have a direct contact with the server supplier then would be more hard and difficul.
Would be great if in next update PHPStorm will act as Filezilla, in an automatically way or with an option to force LIST or MSLD to avoid bad FEAT reply.
Thanks
Yes, we've already fixed the problem from our end. The fix should be included in the next major IDE update.
Great Thanks!!!
You're welcome! Thanks for providing all the required data for this.
Have a great weekend!
Will be this problem solved in future 2021.2? i an't find the issue on track
@Stefano Aglietti
You can try EAP builds now: https://blog.jetbrains.com/phpstorm/2021/06/phpstorm-2021-2-eap-2/
I just tested the EAP version and the problem persist
@Stefano Aglietti
If I'm reading it all correctly, the aforementioned WI-60550 ticket is marked as fixed for 2021.2 EAP 1. There was one more EAP build after that already (EAP 2 is the latest -- the link I gave you). Perhaps it still was not merged / a bad fix .. or even a different issue now (for example: support for TSL 1.0 and 1.1 has been dropped in recent version and your server may still be using it...)
If this is still an issue in EAP 2 then I personally may suggest the following:
Stefano Aglietti
Did you test this using EAP build PS-212.4037.57? This can be checked in Help > About.
I've just tested this on my end with a default proftpd server and it did resolve the problem for me.
If that's not what you're seeing - please attach/upload the IDE logs again.