This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 243977 - wrong file path used in FTP for one specific folder
Summary: wrong file path used in FTP for one specific folder
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 7.4
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-21 20:36 UTC by FlyOn
Modified: 2015-05-12 15:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FlyOn 2014-04-21 20:36:06 UTC
I have a PHP project with 3 folders in the root, connected to a Remote Site.
Files form one of those 3 folders seem to end up in the wrong place on the remove site.

My setup:
- rootfolder
  - f1
  - f2
  - f3
    - s1
    - s2

when I right click f3 and press download the dialog shows me the tree from the root, while f1 and f2 correctly show a dialog with a file tree from either f1 or f2.

when I upload files from folder s1, they end up in root/s1 on the remote site.

There's no differences on the remote end between the folders in permissions or something.

Below the FTP logs:

-------------------------

FTP log requesting download dialog of root/f1 (works correctly)

220 ProFTPD 1.3.4b Server ready.
USER autoenande
331 Password required for autoenande
PASS ******
230 User autoenande logged in
TYPE I
200 Type set to I
CWD /
250 CWD command successful
PWD
257 "/" is the current directory
CWD /f1

FTP log requesting download dialog of root/f3 (wrongly ends with CWD /)

220 ProFTPD 1.3.4b Server ready.
USER autoenande
331 Password required for autoenande
PASS ******
230 User autoenande logged in
TYPE I
200 Type set to I
CWD /
250 CWD command successful
PWD
257 "/" is the current directory
CWD /
Comment 1 Tomas Mysik 2014-07-03 11:50:21 UTC
@vriha: Láďo, could you please test it?

@reporter: Don't you use a network drive? If yes, try to map it to a letter (e.g. X:\).

Thanks.
Comment 2 Tomas Mysik 2015-05-12 15:58:37 UTC
I cannot reproduce your problem, it works for me without any problems. Please, use the latest NetBeans available, start it from command line with [1], reproduce your problem, reopen this issue and attach your IDE log [2].

Thanks.
[1] -J-Dorg.netbeans.modules.php.project.connections.level=FINE
[2] http://wiki.netbeans.org/FaqLogMessagesFile

Product Version: NetBeans IDE Dev (Build 20150512-503d3f77e6dd)
Java: 1.7.0_80; Java HotSpot(TM) 64-Bit Server VM 24.80-b11
Runtime: Java(TM) SE Runtime Environment 1.7.0_80-b15
System: Linux version 3.19.0-16-generic running on amd64; UTF-8; cs_CZ (nb)