简体   繁体   English

无法从Visual Studio 2012执行FTP上传(访问被拒绝)

[英]Unable to perform FTP upload from Visual Studio 2012 (Access is denied)

I have a weird problem. 我有一个奇怪的问题。 I can not do an ftp publish via Visual Studio 2012. 我无法通过Visual Studio 2012进行ftp发布。

It is set as follows: 设置如下:

在此处输入图片说明

As you can see, the connection is validated. 如您所见,连接已验证。

However, for each file I get the following error when publishing: 但是,对于每个文件,发布时都会出现以下错误:

Unable to add 'somefile.aspx' to the Web site.  somefile.aspx: Access is denied (550).

All the stuff I've seen points to permissions errors, but I can upload via FileZilla fine. 我所见过的所有内容都指向权限错误,但是我可以通过FileZilla上传。

Turns out it was my AV package interfering with it. 原来是我的影音包装干扰了它。 For some reason it was happy for FTP via FileZilla, but not from Visual Studio. 出于某种原因,它对通过FileZilla进行FTP感到满意,但对Visual Studio却不满意。 Disabled AV and it uploaded fine. 禁用了AV,并且上传正常。

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

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