删除远程服务器上的文件
我在 NetBeans 中有一个带有远程文件的 PHP 项目(通过 sftp)。当我创建、修改本地和网络服务器上发生的任何更改时。但是,当我尝试删除文件或文件夹时,它只会在本地被删除。可能是什么问题?
权限似乎没问题,所有文件都属于我用来访问服务器的用户。 我使用的是 Netbeans 6.9.1,默认配置,已安装所有更新。
I have a PHP project in NetBeans with remote files (over sftp). When I create, modify anything these changes happening both locally and on my web server. However when I'm trying to delete a file or a folder it gets erased only locally. What could be the problem?
Permissions seems to be ok, all files belong to the user I'm using to access the server.
I'm using Netbeans 6.9.1, default configuration, all updates installed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Netbeans没有同步功能。它仅限于下载和上传文件。你可以做的是使用一些外部工具,例如WinSCP能够同步本地和远程目录。
Netbeans does not have a synchronization function. It is limited to downloading and uploading files. What you can do is to use some external tool, for example WinSCP is capable of synchronizing local and remote directories.
我读了你写的内容...但我认为这可能是权限问题。
我还使用 NetBeans,当我从项目窗口删除文件时,它首先在本地删除它,然后与我的服务器同步。
我通过 sftp(使用 vsftp)作为 root 登录,这是一件坏事,但你也可以尝试这个来确定是否是权限问题。
I read what you wrote... but I think it could be a permissions problem.
I also use NetBeans and when I delete a file from the project window it first erase it locally and then syncs with my server.
I login through sftp (using vsftp) as root, which is a bad thing, but you could try this too to be sure if it's a permission issue.
您错误地关闭了设置。请按照以下步骤操作:
所有最好的男人
You mistakenly turned off the settings. Please follow these steps:
All the best man