- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我有一个与 IBM 大型机建立 FTP 连接的应用程序,并且一切正常。然后我针对 .NET 4 重新编译,大型机不再接受该文件,给我一条错误消息,指出该文件不存在,或者我没有权限。
这是我用来发送文件的:
Ftp = (FtpWebRequest)FtpWebRequest.Create(FtpAddress + "%2F'" + "EM.MOM.FIMSDATA" + ".AA." + "RR(+1)" + "'");
Microsoft 是否更改了 .NET 3.5 和 4 之间的任何内容,因为这指向框架更改?
最佳答案
我在 Microsoft 上找到了这个。
The cause of this issue is due to a behavior change in the System.Net.FtpWebRequest class in .Net Framework 4. There has been a change made to the System.Net.FtpWebRequest class from .Net Framework 3.5 to .Net Framework 4 to streamline the use of the CWD protocol commands. The new implementation of the System.Net.FtpWebRequest class prevents the send of extra CWD commands before issuing the actual command which the user requested and instead directly sends the requested command. For fully RFC compliant FTP servers, this should not be an issue, however for non-fully RFC compliant servers, you will see these types of errors.
关于c# - FTPWeb 请求.NET 3.5 与 4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6251169/
我有一个与 IBM 大型机建立 FTP 连接的应用程序,并且一切正常。然后我针对 .NET 4 重新编译,大型机不再接受该文件,给我一条错误消息,指出该文件不存在,或者我没有权限。 这是我用来发送文件
我在 Windows 服务中有代码,当我通过测试工具在本地运行它时成功连接到 FTP 服务器(FTP 服务器位于本地网络上的另一台机器上)。 但是,当我在生产托管环境中安装它时,我得到了可怕的 Web
我正在尝试通过匿名 FTP 从远程 FTP 文件获取文件大小。 public static long GetSize(string ftpPath) { try { F
我一直收到错误消息“远程服务器返回错误:(530) 未登录。”当调用 FtpWebRequest.GetResponse() 时。我怀疑这是因为我错误地配置了用于基本身份验证的 FTP 站点,但我不确
我有一个 .NET 客户端应用程序,它尝试通过 ftp 将文件传输到具有自签名 TLS/SSL 证书的 FTP 站点。此 FTP 站点在 Windows 7 Enterprise、IIS 7 上运行。
我是一名优秀的程序员,十分优秀!