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.
Product Version = NetBeans IDE 7.1 Beta (Build 201109252201) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0 Runtime = Java HotSpot(TM) 64-Bit Server VM 21.0-b17 Hi, When I create new PHP Project from remote source with FTP, the first character of files folder is removed. Ex: admin becomes dmin CWD //admin 250 Directory successfully changed. PORT 192,168,1,36,215,28 200 PORT command successful. Consider using PASV. RETR updates.php 150 Opening BINARY mode data connection for updates.php (2078 bytes). 226 File send OK. Succeeded: file about.php file action.php dir admin <---- CORRECT ADMIN FOLDER !! file admin.php file alleries/index.php file anguage/index.php file category.php file comments.php file dmin/batch_manager.php [...] file dmin/updates.php <----- BAD ADMIN FOLDER FOR FILES!!! dmin/updates.php instead of admin/updates.php
@reporter: Can you, please, try the development version of NetBeans [1]? If you can reproduce, can you please tell us what is your Initial Directory [2] and Upload Directory [3]? @Láďa: Can you please try to reproduce this issue? Thanks a lot.
Sorry, forgot to add links: [1] http://bits.netbeans.org/download/trunk/nightly/latest/ [2] in Manage Remote COnnections dialog [3] in Project Properties > Run Configuration dialog
*** Bug 205327 has been marked as a duplicate of this bug. ***
I can reproduce it, thanks for catching that. Will fix ASAP.
This bug happens only for "/" as a base remote directory. Should be fixed now, Láďo, please verify [1] so I can backport it to NB 7.1 branch. http://hg.netbeans.org/web-main/rev/e40d004698b4 Thanks. [1] Please, verify both, "/" as well as "/mydir" base remote directories.
TM is 7.2, will be changed after backporting.
verified, files/folders aren't being renamed. Product Version: NetBeans IDE Dev (Build 2011-11-22_10-55-51 ) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 3.0.0-12-generic-pae running on i386; UTF-8; en_US (nb)
Transplanted to the 7.1 branch, please verify. Thanks. http://hg.netbeans.org/releases/rev/47821a74c4a5
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/e40d004698b4 User: Tomas Mysik <tmysik@netbeans.org> Log: #205399 - Bad folder name from FTP Import with PHp Project
Integrated into 'releases' Changeset: http://hg.netbeans.org/releases/rev/47821a74c4a5 User: Tomas Mysik <tmysik@netbeans.org> Log: #205399 - Bad folder name from FTP Import with PHp Project (transplanted from e40d004698b49edc53e45048f4ac16101ffe9ce4)
Verified in RC1 Product Version: NetBeans IDE 7.1 RC1 (Build 201111232200) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 3.0.0-12-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 120053 [details] output of nb 7.2 (nightly) showing an error
The reported error still persists, even when using the nightly build of Netbeans 7.2, which is currently 201205300001. I have attached the output of Netbeans to this bug report. There you can see the problem at the end of the file: "CWD /var/kunden/webs/blaudirekt/portal/vermittler/unde" -> this is faulty, as it should be "CWD /var/kunden/webs/blaudirekt/portal/vermittler/kunde". If you need additional information please let me know.
@hurrtz: Please, provide screen shots of your: - remote server configuration [1] - remote web configuration [2] Thanks. [1] in Manage Remote Connections dialog [2] Project Properties > Run Configuration dialog
@hurrtz: Also, please provide exact steps to reproduce (download? upload? ...?). Thanks.
Created attachment 120057 [details] project properties of netbeans project
Created attachment 120058 [details] remote connection properties of ftp-connection
I have uploaded screenshots for [1] and [2]. Basic environment: I have a webspace on a server which is accessed via sftp in Netbeans. Those files are mirrored on my computer. The Netbeans-project refers to the files on my computer and is ordered to update the files on my webspace on save-command. As for the reproduceability: - make a change in a file - save the file (Netbeans is supposed to upload the file to the server)
Does the upload-on-save work for you? I see "Missing connection" in the dialog... Thanks.
@vriha: Láďo, please try to reproduce this issue. Thanks.
I am sorry, somehow that went wrong... Normally the remote connection would have been selected (otherwise saving would not work).
I have filed issue #213245 - please provide your comments there. Thanks.