Re: connect to FTP server

Tech-Archive recommends: Speed Up your PC by fixing your registry



I'm using this buy they way:

http://www.c-sharpcorner.com/UploadFile/danglass/FtpClient12062005053849AM/FtpClient.aspx

"Swanand Mokashi" wrote:

The sample code I attached should let you do that.

--
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" <CSharpguy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CE5BE3DA-5716-46EF-B01D-522A2085C38C@xxxxxxxxxxxxxxxx
I'll consider that as well, but all I need to do realy is upload the file
then check to confirm it got there.

"Kevin Spencer" wrote:

I might mention that these should be construed as examples. I had to
write
an FTP client, and the Socket connection and related functionality is not
difficult at all. What *is* difficult is handling the various
network-related issues that can arise. For an FTP client to be robust, it
needs to have a lot of recovery functionality (retries, timers, etc)
built
into it.

Another issue is that some of the format of the returned data, such as
directory listing and system status, is not standardized, and can be
difficult to parse.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

Hard work is a medication for which
there is no placebo.

"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
news:OzMOzjsaGHA.3444@xxxxxxxxxxxxxxxxxxxxxxx
Here's a full-featured, free, FTP Client Library, written in C# :

http://www.c-sharpcorner.com/UploadFile/danglass/FtpClient12062005053849AM/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" <CSharpguy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:456D9AFD-5B3C-456A-82E4-72EE27D26D8D@xxxxxxxxxxxxxxxx
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?










.



Relevant Pages

  • Re: connect to FTP server
    ... The sample code I attached should let you do that. ... Microsoft Certified Solution Developer - Early Achiever ... and the Socket connection and related functionality is not ... For an FTP client to be robust, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Number of classes in the .NET Framework
    ... "Swanand Mokashi" wrote in message ... > Microsoft Certified Solution Developer ... > Home of the Stock Quotes, Quote of the day and Horoscope web services ... >> total number of classes and methods in the .NET Framework. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: String Length Validation
    ... > "Swanand Mokashi" wrote in message ... >> Microsoft Certified Solution Developer ... >> Home of the Stock Quotes, Quote of the day and Horoscope web services ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: RowFilter help needed
    ... Swanand Mokashi wrote: ... Microsoft Certified Solution Developer - Early Achiever ... Home of the Stock Quotes, Quote of the day and Horoscope web services ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Button Click and JavaScript
    ... You can add after you check the condition on the server. ... Microsoft Certified Solution Developer - Early Achiever ... Home of the Stock Quotes, Quote of the day and Horoscope web services ... "Swanand Mokashi" wrote: ...
    (microsoft.public.dotnet.framework.aspnet)