连接到FTP服务器 [英] connect to FTP server
本文介绍了连接到FTP服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要将文件上传到FTP服务器,有人可以给我一些代码
连接到FTP服务器并上传文件吗?
解决方案
在哪里?它下面有什么联系?我去了所有3并没有在FTP上看到任何东西
" Swanand Mokashi"写道:
这是我为FTP连接编写的一个类。看看它对你有用
-
Swanand Mokashi
微软认证解决方案开发人员(.NET) - 早期成就者
微软认证应用程序开发人员(.NET)
http://www.dotnetgenerics.com/ < dotNetGenerics.com - 关于Microsoft .NET
技术的所有内容......
http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
股票报价的主页,当日报价和星座网络服务
CSharpguy < CS ******* @ discussions.microsoft.com>在消息中写道
新闻:45 ********************************** @ microsof t.com。 ..我需要将文件上传到FTP服务器,有人可以指向我连接到FTP服务器并上传文件的一些代码吗?
这是一个功能齐全,免费的FTP客户端库,用C#编写:
http://www.c-sharpcorner.com/ UploadF ... FtpClient.aspx
它的大小不到6KB。
这是'另一个例如:
http://www.hotscripts.com/Detailed/ 40607.html
Juan T. Llibre,asp.net MVP
aspnetfaq.com: http://www.aspnetfaq.co m /
asp.net faq: http: //asp.net.do/faq/
foros de asp.net,en espa?ol: http://asp.net.do/foros/
============== =====================
" CSharpguy" < CS ******* @ discussions.microsoft.com>在消息中写道
news:45 ********************************** @ microsof t.com ...我需要将文件上传到FTP服务器,有人能指点我连接到FTP服务器并上传文件的代码吗?
它在一个文本文件中,作为他帖子的附件。
Juan T. Llibre,asp.net MVP
aspnetfaq.com: http://www.aspnetfaq.com/
asp.net faq: http://asp.net.do/faq/
foros de asp.net,en espa?ol: http://asp.net.do/foros/
====== =============================
" CSharpguy" < CS ******* @ discussions.microsoft.com>在消息中写道
news:77 ********************************** @ microsof t.com ...在哪里?它下面有什么联系?我去了所有3,并没有在FTP上看到任何东西
Swanand Mokashi写道:
这是我为FTP连接编写的一个类。看看它对你有用
-
Swanand Mokashi
微软认证解决方案开发人员(.NET) - 早期成就者
微软认证应用程序开发人员(.NET)
http://www.dotnetgenerics.com/ < dotNetGenerics.com - 关于Microsoft .NET
技术的所有内容......
http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
股票报价的主页,当日报价和星座网络服务
CSharpguy < CS ******* @ discussions.microsoft.com>在消息中写道
新闻:45 ********************************** @ microsof t.com。 ..>我需要将文件上传到FTP服务器,有人可以指点我一些代码
>连接到FTP服务器并上传文件?
>
>
>
I need to upload a file to an FTP server, can someone point me to some code
that connects to an FTP server and uploads a file?
解决方案
where? what link is it under? i went to all 3 and didn''t see anything on FTP
"Swanand Mokashi" wrote:
Here is a class I wrote for FTP connections. See if it is useful to you
--
Swanand Mokashi
Microsoft Certified Solution Developer (.NET) - Early Achiever
Microsoft Certified Application Developer (.NET)
http://www.dotnetgenerics.com/
DotNetGenerics.com -- anything and everything about Microsoft .NET
technology ...
http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
Home of the Stock Quotes, Quote of the day and Horoscope web services
"CSharpguy" <CS*******@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com...I need to upload a file to an FTP server, can someone point me to some code
that connects to an FTP server and uploads a file?
Here''s a full-featured, free, FTP Client Library, written in C# :
http://www.c-sharpcorner.com/UploadF...FtpClient.aspx
It''s less than 6KB in size.
Here''s another example :
http://www.hotscripts.com/Detailed/40607.html
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
===================================
"CSharpguy" <CS*******@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com...I need to upload a file to an FTP server, can someone point me to some code
that connects to an FTP server and uploads a file?
It''s in a text file, as an attachment to his post.
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espa?ol : http://asp.net.do/foros/
===================================
"CSharpguy" <CS*******@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...where? what link is it under? i went to all 3 and didn''t see anything on FTP
"Swanand Mokashi" wrote:Here is a class I wrote for FTP connections. See if it is useful to you
--
Swanand Mokashi
Microsoft Certified Solution Developer (.NET) - Early Achiever
Microsoft Certified Application Developer (.NET)
http://www.dotnetgenerics.com/
DotNetGenerics.com -- anything and everything about Microsoft .NET
technology ...
http://www.swanandmokashi.com/
http://www.swanandmokashi.com/HomePage/WebServices/
Home of the Stock Quotes, Quote of the day and Horoscope web services
"CSharpguy" <CS*******@discussions.microsoft.com> wrote in message
news:45**********************************@microsof t.com...>I need to upload a file to an FTP server, can someone point me to some code
> that connects to an FTP server and uploads a file?
>
>
这篇关于连接到FTP服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文