简体   繁体   English

如何在Netbeans FTP视图中下载新文件

[英]How to download new files in Netbeans FTP view

I have created a new project as a PHP Application from Remote Server. 我已经从远程服务器创建了一个新项目作为PHP应用程序。 I am using the passive mode FTP connection setting, as without this setting I could not access the files via Netbeans at all. 我正在使用被动模式FTP连接设置,因为没有这个设置我根本无法通过Netbeans访问文件。 However, some files on the server do not show in my Netbeans panel. 但是,服务器上的某些文件不会显示在我的Netbeans面板中。 How does one refresh the view to show new files on the server? 如何刷新视图以在服务器上显示新文件? I have tried closing and reopening Netbeans, however it seems that Netbeans will only upload, not download new files. 我已经尝试关闭并重新打开Netbeans,但似乎Netbeans只会上传,而不是下载新文件。 I see no obvious menu items for refreshing the view from the server, and adding the Scan on Demand plugin did not help. 我没有看到从服务器刷新视图的明显菜单项,添加Scan on Demand插件没有帮助。 Thank you. 谢谢。

right click on Source files then select : 右键单击Source files然后选择:

  • Download for downloading files. 下载下载文件。
  • or 要么
  • Upload to upload your local files. 上传以上传您的本地文件。
  • or 要么
  • Synchronize to synchronize existing files in local and server. 同步以同步本地和服务器中的现有文件。

i hope my answer is useful for you 我希望我的回答对你有用

You can find the Upload/Download option on all folders if you are using the Project Tab. 如果使用“项目”选项卡,则可以在所有文件夹中找到“上载/下载”选项。 The same option does not exist when you are browsing the Files tab. 浏览“文件”选项卡时,不存在相同的选项。 This will solve your issue. 这将解决您的问题。 Because it worked for me. 因为它对我有用。

In 7.2.1, go to projects, expand the project you want to get the files for, then right click on the folder that says 'Source Files' for a download menu item that gets all of your files for that project. 在7.2.1中,转到项目,展开要获取文件的项目,然后右键单击“源文件”文件夹,以获取下载菜单项,该项目可获取该项目的所有文件。

在此输入图像描述

Interestingly, the inner folders do have a "Download" menu item for downloading new and changed files from the server, but the Source Files and top-level directories do not have this item. 有趣的是,内部文件夹有一个“下载”菜单项,用于从服务器下载新的和更改的文件,但源文件和顶级目录没有此项。 Therefore the user can only refresh folders that are at least two levels deep. 因此,用户只能刷新至少两级深度的文件夹。

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

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