我正在尝试配置FileZilla,以便我可以在所有联网计算机上使用相同的设置等,所以要开始,我正在创建一个fxdefaults.xml文件, 根据这篇文章 。最终,我希望设置驻留在网络驱动器上,但为了使其正常运行,我只需将设置放在Windows 7机器上的本地驱动器上,即d:\ filezilla。一切看起来都很简单,我已经定义了fzdefaults.xml文件,如下所示:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<FileZilla3>
<Settings>
<Setting name="Config Location">d:\filezilla</Setting>
<Setting name="Kiosk mode">1</Setting>
<Setting name="Disable update check">1</Setting>
</Settings>
</FileZilla3>
我创建了目录d:\ filezilla,并将我的所有filezilla用户设置复制到此目录中,确保它们不是只读的,并且SYSTEM帐户可以完全控制文件。
但是,当我启动filezilla时,我收到许多错误消息,例如“无法写入XML文件”,最后是错误摘要:
3:55:42 PM: Directory 'C:\Program Files (x86)\FileZilla FTP Client\$SOMEDIR\filezilla' couldn't be created (error 3: the system cannot find the path specified.)
3:55:42 PM: can't open file 'C:\Program Files (x86)\FileZilla FTP Client\$SOMEDIR\filezilla\filezilla.xml' (error 3: the system cannot find the path specified.)
3:55:45 PM: can't open file 'C:\Program Files (x86)\FileZilla FTP Client\$SOMEDIR\filezilla\layout.xml' (error 3: the system cannot find the path specified.)
3:55:47 PM: can't open file 'C:\Program Files (x86)\FileZilla FTP Client\$SOMEDIR\filezilla\filters.xml' (error 3: the system cannot find the path specified.)
3:55:47 PM: can't open file 'C:\Program Files (x86)\FileZilla FTP Client\$SOMEDIR\filezilla\filters.xml' (error 3: the system cannot find the path specified.)
3:55:49 PM: can't open file 'C:\Program Files (x86)\FileZilla FTP Client\$SOMEDIR\filezilla\bookmarks.xml' (error 3: the system cannot find the path specified.)
3:56:26 PM: can't open file 'C:\Program Files (x86)\FileZilla FTP Client\$SOMEDIR\filezilla\bookmarks.xml' (error 3: the system cannot find the path specified.)
看看那些,看起来它没有找到配置文件的正确位置,但我将位置指定为d:\ filezilla并且它存在...任何想法?
从app目录中删除fzdefaults.xml文件会清除错误,但会将配置文件保留在其默认位置。
您是否有权通过Filezilla回写该位置?
—
random
我会假设... FileZilla不会使用SYSTEM帐户吗?我登录的个人帐户也是如此。
—
Paul Mennega