Invalid descendant file name "/".

Just downloaded the 30 day trial of WebStorm and was hoping to set it up to remotely connect to an FTP server for development but have hit this error.

"Connection to 'WACH_Supervisor' failed.  Invalid descendant file name "/"."

Pastebin of the debug log: http://pastebin.com/GGxCPqR8

The only place that a "/" appears in a file name is under the cdir entry.  But this is pretty standard is it not?

Capture.PNG

13 comments
Comment actions Permalink

Hi there,

First of all -- please try again (that's if you have not tried it yet).

Otherwise -- login into that host using another program (e.g. FileZilla etc) or better -- via (SSH?) terminal and check there.

It is possible that you may find a file with such name there which (S)FTP library used by WebStorm is unable to process (it is very sensible to such invalid names -- other program may simply skip it while IDE will just throw an exception).

You can also check detailed FTP log from another program -- it may give you some clues.

Also --- instead of using wizard, try create new empty local project, setup remote connection (Settings | Deployment), mark it as default and then browse and download required files manually via Remote Host tool window.

If nothing is helping -- please file a new ticket to the Issue Tracker attaching your log there.

0
Comment actions Permalink

I have exactly the same issue using webstorm 8 on either windows 8.1 or on my ubuntu 14.04.

there are NO files on the remote Host currently. Can connect with Filezilla without any Problems.
I tried it with some other hosts, same problem. Setting to "compatibility mode" doesn't help either.

So at the Moment, I don't have any FTP Deployment at all. :-(

0
Comment actions Permalink

It's very odd that it does not work anywhere for you.

Please provide logs -- only log may be able to tell why IDE behaves like that -- http://devnet.jetbrains.com/docs/DOC-1202

0
Comment actions Permalink

I know this may not help you at all.. but, I "solved" the problem by switching to PhpStorm.  I'm honestly not a huge web developer so the functionality of the two were basically the same in my regard.  Except that FTP works in one and not the other ><

0
Comment actions Permalink

Thanks for your reply.

Attached is the Logfile from my Ubuntu-Box.

edit: Just installed Webstorm 9 (EAP) --> Same Issue.



Attachment(s):
idea.log.zip
0
Comment actions Permalink

nedlinin schrieb:

I know this may not help you at all.. but, I "solved" the problem by switching to PhpStorm.  I'm honestly not a huge web developer so the functionality of the two were basically the same in my regard.  Except that FTP works in one and not the other ><


Thanks for your input... This might actually be usefull information for the Jetbrains-Team for solving the issue in Webstorm. I'd suppose, the FTP implementations of both Webstorm and PHPStorm are the same...

0
Comment actions Permalink

Well ... accordingly to your log there is actually a folder with name "/" (I do not know -- possibly this folder is only visible if accessing via FTP). Your FTP server is reported to be "Webland FTP Server".

Unfortunately, the library used for deployment operations ( (S)FTP access) does not handle such names well (very unfortunately). Unfortunately I do not know if this can be handled on IDE side or if this is deep in library code and error cannot be bypassed (ignored).

Would be much better if you contact your hosting company for some comments (provide part of your log and explain the situation) -- they may provide some workaround. Maybe if you set up staring folder to be something other than "/" -- maybe it will help. The reason I'm saying this -- on their official doc I do see quite few screenshots where "/" is shown as root folder, so they may have other users who use WebStorm/PhpStorm in the past.


Also: could you provide similar log created by another FTP program that actually works with this server (e.g. FileZilla or whatever) -- would be good to see what that program sees.

P.S.
Deployment plugin code is shared between all IDEs -- same for WebStorm, PhpStorm, PyCharm etc (comparable versions, of course)

0
Comment actions Permalink

Well yes. The Root-Folder is presented as "/". I don't think, this can be changed.

But, I followed Chris' suggestion and installed PHPStorm 7.1. And There the Connection is perfectly Working. See the attached Logfile.
So if it really is the same implementation, it should also work in Webstorm.

BTW. I also tried to set the root-path to "/htdocs". Same Error (in Webstorm)

PS: It worked in Webstorm 7.x... I wouldn't have bought Webstorm if it hadn't.



Attachment(s):
idea.log.zip
0
Comment actions Permalink

There is CLEAR difference in the logs.

In v7 it uses standard LIST command to see the file structure and it does not list "/" folder there

2014-08-08 13:58:32,496 [ 679582]  DEBUG - ains.plugins.webDeployment.ftp - > LIST
2014-08-08 13:58:32,507 [ 679593]  DEBUG - ains.plugins.webDeployment.ftp - 150 Opening data connection for directory list.
2014-08-08 13:58:32,507 [ 679593]  DEBUG - ains.plugins.webDeployment.ftp - drwxrwxrwx   1 user     group           0 Sep 27  2011 aspnet_client
2014-08-08 13:58:32,508 [ 679594]  DEBUG - ains.plugins.webDeployment.ftp - drwxrwxrwx   1 user     group           0 Aug 07 20:01 htdocs
2014-08-08 13:58:32,508 [ 679594]  DEBUG - ains.plugins.webDeployment.ftp -  
2014-08-08 13:58:32,513 [ 679599]  DEBUG - ains.plugins.webDeployment.ftp - 226 Transfer ok.

Previous log (v8) uses MLSD command (more advanced?) for the same purpose:

2014-08-08 08:29:24,417 [  96234]  DEBUG - ains.plugins.webDeployment.ftp - > MLSD
2014-08-08 08:29:24,426 [  96243]  DEBUG - ains.plugins.webDeployment.ftp - 150 Data connection accepted from xxx.xxx.xxx.xxx:xxxxx; transfer starting.
2014-08-08 08:29:24,426 [  96243]  DEBUG - ains.plugins.webDeployment.ftp - type=cdir;modify=20140807175535; /
2014-08-08 08:29:24,426 [  96243]  DEBUG - ains.plugins.webDeployment.ftp - type=pdir;modify=20140807175535; ..
2014-08-08 08:29:24,426 [  96243]  DEBUG - ains.plugins.webDeployment.ftp - type=pdir;modify=20140807175535; /
2014-08-08 08:29:24,426 [  96243]  DEBUG - ains.plugins.webDeployment.ftp - type=dir;modify=20110927214008; aspnet_client
2014-08-08 08:29:24,426 [  96243]  DEBUG - ains.plugins.webDeployment.ftp - type=dir;modify=20140807180108; htdocs
2014-08-08 08:29:24,432 [  96249]  DEBUG - ains.plugins.webDeployment.ftp - 226 Transfer ok.
2014-08-08 08:29:24,510 [  96327]   WARN - loyment.ui.WebServerConfigForm - Invalid descendent file name "/".


Difference in passive and active mode is not important at all (plus, it's your setting).

P.S.
I wonder if "Compatibility mode" option in v8 will produce different log. The original log -- was it with that option enabled or not?

In any case: http://youtrack.jetbrains.com/issue/WI-23584

0
Comment actions Permalink

Bazzik schrieb:

There is CLEAR difference in the logs.

In v7 it uses standard LIST command to see the file structure and it does not list "/" folder there
Previous log (v8) uses MLSD command (more advanced?) for the same purpose:

P.S.
I wonder if "Compatibility mode" option in v8 will produce different log. The original log -- was it with that option enabled or not?

In any case: http://youtrack.jetbrains.com/issue/WI-23584


I just went with the default settings for both, Webstorm or PHPStorm. Webstorm 9 and PHPStorm are completely fresh installations.
Can I disable MLSD somewhere? I have no Idea about those Protocols.

I tried Compatibility-Mode, but had the same Error.

I've already seen the Issue on the Bugtracker and linked back to this thread... but there has been silence for almost two month now.

0
Comment actions Permalink
Can I disable MLSD somewhere? I have no Idea about those Protocols.

Not on IDE side (have not seen any option like that anywhere).

You could use another FTP server software (that does not support MLSD command .. or disable in existing one) .. but as I understand you are using hosting company and cannot do that.

I've already seen the Issue on the Bugtracker and linked back to this thread... but there has been silence for almost two month now.

Hopefully they will reply something now. Especially since v8 final will be released in next 2 months or so .. and more people may face the same issue where they unable to use Deployment functionality at all, which I strongly believe is not what devs would like to see and hear.

0
Comment actions Permalink

The FTP implementation in PHPStorm 7.* is the same as in WebStorm 7.*. In PHPStorm 8 (coming soon) it's the same as in WebStorm 8.*

0
Comment actions Permalink

Bazzik schrieb:


You could use another FTP server software (that does not support MLSD command .. or disable in existing one) .. but as I understand you are using hosting company and cannot do that.


I'm using FileZilla as a workaround... but it's a pain. Especially, when you know how convenient it could be directly from within the IDE.

Hopefully they will reply something now. Especially since v8 final will be released in next 2 months or so .. and more people may face the same issue where they unable to use Deployment functionality at all, which I strongly believe is not what devs would like to see and hear.


Yeah, let's hope for a fix soon. I've seen in another Bug-Issue that MLSD has been introduced with version 8.x. That's why it's working with PHPStorm 7

Thanks for your help. :)

Cheers,

Oliver

0

Please sign in to leave a comment.