Copying all files to temporary location below for package/publish:
obj\Release\Package\PackageTmp.
2>Publishing folder /...
2>Unable to add 'index.aspx' to the Web site. Access is denied (550).
2>Unable to add 'jquery-1.7.1.min.js' to the Web site. Access is denied (550).
2>Unable to add 'jquery.dropotron-1.0.js' to the Web site. Access is denied (550).
2>Unable to add 'style.css' to the Web site. Access is denied (550).
2>Unable to add 'Web.config' to the Web site. Access is denied (550).
2>Unable to add folder 'bin' to the Web site. Cannot create folder "bin".
2>Unable to add folder 'images' to the Web site. Cannot create folder "images".
2>Site was published successfully ftp://myblogstory.somee.com/
2>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========我的登录是正确的,所以我应该有权这样做。有什么想法吗?
发布于 2013-10-26 14:37:39
当您无法对要上载的文件夹(或您要编辑的文件)进行写访问时,可能会出现550错误。
考虑到您发布的消息,您正在尝试将文件上载到FTP的根目录。您可能需要将您的文件上传到子文件夹,通常(但并非总是)在Windows中是/wwwroot。
还可能是您的FTP凭据只具有读取权限,因此您不能在FTP服务器中放置任何文件或文件夹。
尝试使用FTP客户端(例如FileZilla)检查FTP凭据,看看是否可以直接上传文件和创建文件夹。
https://stackoverflow.com/questions/19607850
复制相似问题