apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.66k stars 851 forks source link

Very slow manual upload with PHP project #3887

Open mitkola opened 2 years ago

mitkola commented 2 years ago

Apache NetBeans version

Apache NetBeans 13

What happened

In PHP project using remote connection with SFTP upload working extremely slow with "Manually" upload feature, while "On Save" upload works fine. When doing manual upload the connection is established immediately but file upload starts after more than 20 seconds and longer. Time delay depends of number of files and directories in project. It's look that ftp make scan of all directory tree.

It seem that is old unresolved issue that is described in details here: https://bz.apache.org/netbeans/show_bug.cgi?id=269601

How to reproduce

No response

Did this work correctly in an earlier version?

No

Operating System

Windows 10

JDK

jdk1.8.0_231

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

Code of Conduct

Yes

TheDigitalGene commented 2 years ago

I'm seeing a similar issue.

JProduct Version: Apache NetBeans IDE 14 Java: 1.8.0_341; Java HotSpot(TM) 64-Bit Server VM 25.341-b10 Runtime: Java(TM) SE Runtime Environment 1.8.0_341-b10 System: Mac OS X version 12.5 running on x86_64; UTF-8; en_GB (nb)

Manual upload of a single small file (<50kb) is taking around 25 seconds in total, previous versions of NetBeans were taking no more than a couple of seconds. Performing the same operation in FileZilla is almost instantaneous.

TheRealMrG commented 1 year ago

I am also seeing the same issue as are others in my team. If I switch to "Upload Files: On Save" the push is near instantaneous but if I upload manually it adds 30-seconds or so at the start of the process every time.

I am happy to help with troubleshooting. Any progress would be welcome!