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 257619 - ftp synchronization often fail, but seldom fail to upload.
Summary: ftp synchronization often fail, but seldom fail to upload.
Status: RESOLVED INVALID
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-19 07:17 UTC by ghostry
Modified: 2016-06-02 12:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE 日志 (55.73 KB, text/plain)
2016-01-19 07:17 UTC, ghostry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ghostry 2016-01-19 07:17:43 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Linux version 3.19.0-46-generic running on amd64
Java; VM; Vendor = 1.8.0_60
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

再现性: 有时 (但不总是) 发生

我有一个距离比较远的服务器,连通性不是很好。当使用ftp创建远程项目后,每次保存文件自动同步时有很大概率卡在STOR ×××.×××.new这一步很长时间,然后返回失败。
但是在同一时间,如果在文件上使用右键-》上传,则几乎都能成功上传。
Comment 1 ghostry 2016-01-19 07:17:50 UTC
Created attachment 158173 [details]
IDE 日志
Comment 2 Jiri Prox 2016-01-19 10:32:09 UTC
Next time please use English

Translation:
Reproducibility: sometimes (but not always) occur

I have a relatively long distance server, connectivity is not very good. When using ftp create a remote project, every time you save the file automatically synchronized when a large probability card in STOR
×××. ××× .new this step for a long time, then return failure.
But at the same time, if you use the right in the document - "upload, then almost all successfully uploaded.
Comment 3 Tomas Mysik 2016-06-02 12:41:43 UTC
I can see many connection related exceptions in your IDE log, e.g.:

INFO [org.netbeans.modules.php.project.connections.RemoteClient]
java.net.ConnectException: 连接超时

INFO [org.netbeans.modules.php.project.connections.ftp.FtpClient]: Exception while connecting
java.net.SocketTimeoutException: Read timed out

Unfortunately, I cannot see a way to help you. You can perhaps try to increase the timeout of your connection (see your server options in the IDE), it could help.

Thanks for reporting.