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 205327

Summary: CWD issue using FTPES
Product: php Reporter: kaybie
Component: FTP SupportAssignee: Tomas Mysik <tmysik>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: OUTPUT window log

Description kaybie 2011-11-20 15:18:25 UTC
Created attachment 113346 [details]
OUTPUT window log

When using File Download to download files using a passive FTPES connection, I am unable to download files nested within directories. 

The download process makes multiple CWD calls to the same directory, it then replaces the first digit of the directory with a slash, thus subsequent CWD calls fail.

Product Version: NetBeans IDE 7.1 Beta (Build 201109252201)
Java: 1.6.0_29; Java HotSpot(TM) 64-Bit Server VM 20.4-b02-402
System: Mac OS X version 10.7.2 running on x86_64; MacRoman; en_US (nb)

Attached is an example log from the OUTPUT window.
Comment 1 Tomas Mysik 2011-11-21 13:19:09 UTC
That's really weird, especially the "//" in the beginning of the path.
Could you please provide your Initial Directory [1] and Upload Directory [2] of your server and project? I guess the problem will be there (both should start with exactly one "/"). Anyway, it would be great if you could provide your current values since I will be able to reproduce and fix.

Simply reopen this issue and provide requested information.

Thanks a lot.
[1] in Manage Remote COnnections dialog
[2] in Project Properties > Run Configuration dialog
Comment 2 kaybie 2011-11-21 14:14:14 UTC
Hi Tomas,

[1] in Manage Remote COnnections dialog
Initial Directory = /

[2] in Project Properties > Run Configuration dialog
Upload Directory is blank, if you change it to a slash and save it blanks out again

Hope this helps
Comment 3 Tomas Mysik 2011-11-21 14:21:24 UTC
Weird, then I don't know where the double slash comes from. In any case, I will try to reproduce and possibly fix.

Thanks for reporting.
Comment 4 Tomas Mysik 2011-11-22 08:52:22 UTC

*** This bug has been marked as a duplicate of bug 205399 ***