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

0
23 comments

We need to check extended IDE logs for that. Please open Help > Diagnostic Tools > Debug Log Settings... and add following lines:

#com.jetbrains.plugins.webDeployment 
#com.intellij.ssh


Reproduce the issue, run Help > Collect Logs and Diagnostic Data, upload resulting archive to https://uploads.jetbrains.com/ & let us know the upload ID.

0

This is the upload:

2021_05_18_EDdZMfQJvgEUa1gU

 

But as i said there is no info in logs

0

Thanks. Your server doesn't permit LIST command for some reason:

LIST: Operation not permitted

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/

0

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

0

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.

0

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

0

Any chance to share what FTP server is running there exactly? Like proFTPd, vsftpd, etc...

0

No sorry non in easy and fast way, it's my first time i have similar problem, wondering why Filezilla works perfectly

0

Is there an option to connect to it over plain FTP & check if that works?

0

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.

0

Here it is

2021_05_18_U3Ch324WizW5dFJz

0

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?

0

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

0

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.

0

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

0

Yes, we've already fixed the problem from our end. The fix should be included in the next major IDE update.

0

You're welcome! Thanks for providing all the required data for this. 

Have a great weekend!

0

Will be this problem solved in future 2021.2? i an't find the issue on track

 

0

I just tested the EAP version and the problem persist

0

@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:

  • Collect the same logs again using the latest 2021.2 EAP.
  • Check the logs: if it's able to connect at all or if it's still the same listing issue
  • If it's the same: go to that ticket and add a comment / attach the logs there (you can limit the attachment visibility to PhpStorm team only) or upload and provide the upload ID like it was done before.
  • If it's different: what the error message is?
0

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.

0

Please sign in to leave a comment.