简体   繁体   English

Netbeans sftp下载“只有新的”

[英]Netbeans sftp download “only new”

I am working with Netbeans 7.0.1 (for PHP) and sync some files over sftp from two places. 我正在使用Netbeans 7.0.1(用于PHP)并从两个位置通过sftp同步一些文件。

If I download a folder on one machine, Netbeans shows me a list of all files, where only the changed files are checked for download. 如果我在一台机器上下载文件夹,Netbeans会向我显示所有文件的列表,其中只检查已更改的文件以供下载。 I do the same on my other PC but now he always checks all files for download. 我在其他PC上也这样做但现在他总是检查所有文件以供下载。

How comes that Netbeans can detect file changes on one computer but not on the other? 为什么Netbeans可以在一台计算机上检测文件更改而在另一台计算机上却没有? Did I mess up the config or is it a Java version problem? 我搞砸了配置还是Java版本的问题?

Thanks for your help! 谢谢你的帮助!

It is working with: 它正在与:

  • Product Version: NetBeans IDE 7.0.1 (Build 201107282000) 产品版本:NetBeans IDE 7.0.1(Build 201107282000)
  • Java: 1.6.0_11; Java:1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16 Java HotSpot(TM)客户端VM 11.0-b16
  • System: Windows XP version 5.1 running on x86; 系统:在x86上运行的Windows XP 5.1; Cp1252; CP1252; de_DE (nb) de_DE(nb)

It is not working with: 它无法使用:

  • Product Version: NetBeans IDE 7.0.1 (Build 201107282000) 产品版本:NetBeans IDE 7.0.1(Build 201107282000)
  • Java: 1.6.0_30; Java:1.6.0_30; Java HotSpot(TM) Client VM 20.5-b03 Java HotSpot(TM)客户端VM 20.5-b03
  • System: Windows 7 version 6.1 running on x86; 系统:在x86上运行的Windows 7版本6.1; Cp1252; CP1252; de_DE (nb) de_DE(nb)

I've seen similiar behaviour with SFTP team synchronisation in Eclipse. 我在Eclipse中看到了与SFTP团队同步相似的行为。 Sometimes what happens is when you check or download a file on the server that file gets marked by the server filesystem as modified, even though it isn't. 有时会发生的情况是,当您检查或下载服务器上的文件时,文件被服务器文件系统标记为已修改,即使它不是。 Check the timestamps on your server files and folders and see if they change after a sync or download. 检查服务器文件和文件夹上的时间戳,看看它们在同步或下载后是否发生了变化。 I still don't know exactly what triggers this but I'm just putting it out there in case your issue is related. 我仍然不知道是什么触发了这个,但我只是把它放在那里以防你的问题相关。

Have you checked your firewall settings? 你检查过防火墙设置了吗? This link can be helpful. 此链接可能会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM