将文件从Web服务器传输到另一个Web服务器 [英] Transfer The File from webserver to another webserver

查看:97
本文介绍了将文件从Web服务器传输到另一个Web服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将文件从一台服务器传输到本地时出错.

异常详细信息:System.Net.Web异常:远程服务器返回错误:(403)禁止.

There is error in transfer file from one server to local.

Exception Details: System.Net.Web Exception: The remote server returned an error: (403) Forbidden.

推荐答案

如果问题类似于
``HTTP错误代码403是什么意思?'',
可以在 http://en.wikipedia.org/wiki/HTTP_403 [
If the question would be something like
''What does the HTTP error code 403 mean?'',
the answer can be found at http://en.wikipedia.org/wiki/HTTP_403[^].

However, this is not C++/C# related. Check your URL. The 403 error is often returned when requesting a directory listing (last character of URL is a slash ''/'') and listing is not allowed.


请检查目标系统/文件夹上的权限,它必须具有写权限
Please check permissions on target system/folder, it must have write permission


这篇关于将文件从Web服务器传输到另一个Web服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆