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.
Created attachment 163431 [details] options After i hit key combination to upload everything is fine until this moment: Directory successfully changed. LIST Here comes the directory listing. Directory send OK. After that I must wait 2-5 minutes - then netbeans uploads the file. File has aproximately 1 KB. Thank for Your time
Upload on save works perfect but not everywhere I can do this.
Hello, the same here, seems that is a problem with Mac and Sierra. Tested in 3 macs. Slow to download an to upload.
It is always a good idea to try more servers - does the problem occur for all of them? Also trying another FTP client (ideally written in Java) would be helpful. Could you please start NetBeans from command line with [1], reproduce your problem and attach the IDE log [2] here? It would be also useful to attach a profiler snapshot [3] here - start profiling, slow-upload your file, stop profiling. (In reply to cokarmando from comment #2) > the same here, seems that is a problem with Mac and Sierra. Tested in 3 > macs. Slow to download an to upload. The original report was for Windows so hard to say. Anyway, NetBeans uses Apache Commons Net [4] (version 3.3) so we could try to update it (the latest version is 3.6). I will have a look at it. Thanks for your cooperation. [1] -J-Dorg.netbeans.modules.php.project.connections.level=FINE [2] http://wiki.netbeans.org/FaqLogMessagesFile [3] http://wiki.netbeans.org/FaqProfileMeNow [4] https://commons.apache.org/proper/commons-net/
Gues, please see my comment #3 and attach all the files requested. Meanwhile, I will try to update Apache Commons Net library. Thanks.
(In reply to Tomas Mysik from comment #4) > Meanwhile, I will try to update Apache Commons Net library. See issue #270210. Thanks.
Marking as INCOMPLETE and closing for now; please reopen but please attach all the requested files from comment #3. Thanks.
BTW Commons Net just upgraded to its latest version, see isuue #270210. Please, wait a couple of days and then try a development version of NetBeans. Thanks.
Thank You Tomas. I'll try after the weekend. Could You explain what You mean in link [1] ? How should I run Netbeans to get log what You need? Regards Kamil
(In reply to kamilchojnacki from comment #8) > Thank You Tomas. I'll try after the weekend. Perfect, thank you. > Could You explain what You mean > in link [1] ? How should I run Netbeans to get log what You need? The best way to do it is to run NB from command line (terminal) with the parameter [1] (e.g. "/my/path/to/netbeans[.exe] -J-Dorg.netbeans.modules.php.project.connections.level=FINE"). Then, as I wrote, reproduce your problem and attach the IDE log [2] to this issue. Thanks for your cooperation. [1] -J-Dorg.netbeans.modules.php.project.connections.level=FINE [2] http://wiki.netbeans.org/FaqLogMessagesFile
Hi Tomas, I figured it out what's the problem. After I add -J-Dorg.netbeans.modules.php.project.connections.level=FINE to command starting IDE I saw that Netbeans while I hit command to manually upload file to server was checking all the files in my projects ( over 200 k files). Because I had fragile data in my project and in my IDE log I create new project and I tried to reproduce problem with new, nearly empty project. The problem was not showing up ! :-) So I delete netbeans project files from my big project and create new netbeans project from my files and it worked. So problem was in netbeans project config files and not in FTP module. Thank You very my for Your help. Kamil.
Thank you for letting us know. Great to hear that it works for you now.
Unfortunately still there is a problem. I got this logs: FINE [org.netbeans.modules.php.project.connections.RemoteClient]: File SftpFile[name: XXXXXXX.php, parent directory: /path/to/project/] added to download queue FINE [org.netbeans.modules.php.project.connections.transfer.RemoteTransferFile]: Absolute remote path "/path/to/project/XXXXX.php" -> remote path "XXXXX.php" (base directory "/path/to/project/") I don't know why, after manual upload netbeans check files and adding to 'download queue'.
(In reply to kamilchojnacki from comment #12) > FINE [org.netbeans.modules.php.project.connections.RemoteClient]: File > SftpFile[name: XXXXXXX.php, parent directory: /path/to/project/] added to > download queue > FINE > [org.netbeans.modules.php.project.connections.transfer.RemoteTransferFile]: > Absolute remote path "/path/to/project/XXXXX.php" -> remote path "XXXXX.php" > (base directory "/path/to/project/") So, we are talking about SFTP? Why didn't you tell us sooner...? ;) Anyway, I need the whole IDE log to investigate what exactly happens. Also, verify that you are using Manual upload, not Upload-On-Save in your Project Properties. Please, read _carefully_ comment #3 and provide all requested information and files otherwise we are not able to help you. Thanks.
I've added log file.
Created attachment 164162 [details] log file
Looking into the log file, I cannot see any problem. BTW you did more downloads than just one so it is unnecessarily verbose. Please, in comment #3 there are more requests - does it happen also with some other server or just one? Is it possible to test it? And - this is especially important - could you please also attach profiler snapshot (instructions can be found in the same comment) so we can see where the time is spent? Please, download just one file is possible. Thank you for your cooperation.
Created attachment 165494 [details] FTP log
I experience this problem on Netbeans 8.2 with larger projects. But I don't experience it on Netbeans 8.02. It can take 30+ seconds to upload a single small file. Smaller projects don't seem to exhibit this issue. As a test I've just uploaded a small file and the log window shows: The real world time for the process to complete was 34 seconds. I don't experience the same issue using other FTP clients (FileZilla). Log file uploaded - the delay is directly after the "226 212 matches total" log entry. I'm keen to help resolve this issue if I can. Thanks.
Hi, Having same issue here for month!... Still waiting to solve this problem as it is just annoying toi wait 30 seconds each time I make a modification on the file! :-(( Thinking about changing to an other program as I can't work that way anymore :-(
I confirm this issue. Very slow upload over SFTP.