FtpWebRequest.GetRequestStream()的问题 - C# [英] Problems with FtpWebRequest.GetRequestStream() - C#

查看:830
本文介绍了FtpWebRequest.GetRequestStream()的问题 - C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我正在尝试将文件上传到ftp网站。

我的代码粘贴在下面。

Hello,

I am trying to upload a file to a ftp site.
I have my code pasted below.

展开 | 选择 | Wrap | 行号

推荐答案

编辑:

好​​的我现在很困惑。

Ok I am waaay confused now.



编辑:等待...
hold on ...



我试过的大多数论坛都使用了GetRequestStream()

,对它的解释是 - 检索用于将数据上传到FTP服务器的流。

Well most of the forums I tried used the GetRequestStream()
also the explanation to it is - Retreives the stream used to upload data to an FTP server.


这个版本的函数是否可用rk for you?
Does this version of the function work for you?
展开 | 选择 < span class =codeDivider> | Wrap | 行号


这篇关于FtpWebRequest.GetRequestStream()的问题 - C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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