发布到FTP无法复制文件

时间:2012-08-09 11:15:22

标签: c# visual-studio-2010

我正在尝试通过FTP将WinForms应用程序发布到VPS上。

我在部署中的每个文件都收到以下错误。

    Error   40  Failed to copy file '\\webserver\AthenaData\Athena\bin\Debug\app.publish\Application Files\Athena_2_4_0_0\DevExpress.XtraWizard.v11.2.dll.deploy' to 'ftp://ftp.cityworksgroup.co.uk/install/Application Files/Athena_2_4_0_0/DevExpress.XtraWizard.v11.2.dll.deploy'. Unable to add 'Application Files/Athena_2_4_0_0/DevExpress.XtraWizard.v11.2.dll.deploy' to the Web site.  The system cannot find the path specified (550).       1   1   Athena

发布到本地共享工作正常。我可以很好地连接到我在单独的FTP应用程序中使用的FTP详细信息,并对FTP帐户应用了完全权限。该应用程序正在建设中。

提前致谢。

1 个答案:

答案 0 :(得分:1)

您是否使用其他ftp程序设置了要访问“777”的所有文件夹和文件?因为这将启用对这些目录的写入,读取和完全权限。