FTP Server

A

Abhishek

Hi!
I need to develop a FTP server for my application.
I want it precisely on C#.
I want it to have the basic FTP server facilities like logging in and being
able to traverse within the directories through GUI. Something like CuteFTP.
Any links or refrences or codes wil be greatly appreciated

Regards,
Abhishek
 
N

Nick Malik [Microsoft]

Is it necessary to re-invent FTP? Is there some reason you can't use the
one that comes with IIS?

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
A

Abhishek

Nick Malik said:
Is it necessary to re-invent FTP? Is there some reason you can't use the
one that comes with IIS?

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.

I want to it to be within my app and i am not sure whether all my clients
willl be having IIS
but still if this works i'll be very happy to use it. It'll be even better
with me since i'll not have to test the FTP server for its proper
functioning.
I would request you to kindly give me a bit more details on how to use it.

Thanks
Abhishek
 
I

Ignacio Machin \( .NET/ C# MVP \)

hi,

first of all, you are confusing the server part with the client one. the
server has no interface, that's the client side.

I would suggest you look for third party components, it should no bet
trivial to implement the ftp protocol.



cheers,
 
N

Nick Malik [Microsoft]

Hello Abhishek
I want to it to be within my app and i am not sure whether all my clients
willl be having IIS
but still if this works i'll be very happy to use it. It'll be even better
with me since i'll not have to test the FTP server for its proper
functioning.
I would request you to kindly give me a bit more details on how to use it.

When you are transferring files, the side that initiates the call is the
client. The side that receives the call is the server. In any
communication, you only need one client and one server. If your users will
be talking peer-to-peer, and they are using "client-side" operating systems
like Windows 98, then you will need to write a "server" side. However, if
everyone is just transferring files with you, then you can use a
"hub-and-spoke" topology, where the user's software contacts your server to
get a file.

So, to really help you further, I'd need to know if you are trying to create
a peer-to-peer topology or a hub-and-spoke topology.

For some info on peer-to-peer networks, try these links:
http://www.csharphelp.com/archives/archive261.html
http://www.thoughtpost.com/p2p.aspx
http://www.microsoft.com/downloads/...14-A487-4DFF-B384-829CD8CE977D&displaylang=en
http://www.c-sharpcorner.com/Code/2002/Mar/Peer2PeerChatAsynchSocket.asp

For information on creating a FTP server or FTP client:
http://www.c-sharpcorner.com/internet/FTPServerinCSharp.asp
http://www.c-sharpcorner.com/winforms/NFTPExplorer_Beta2.asp
http://blogs.msdn.com/joelpob/archive/2004/02/16/74433.aspx
http://www.csharphelp.com/archives/archive9.html
http://www.chilkatsoft.com/refdoc/csFtpRef.html


Caveat: if the data you intend to transfer needs to be encrypted, then
"vanilla" FTP is a bad idea. You'll need to add features to encrypt the
credentials, or perform the entire handshake and data transfer over SSL.
There is also another protocol, called SSH, that securely provides a way to
send and receive files.


--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
 
M

ms

there is a lot more to it also and I wouldnt even attempt to go down that
route, there are a couple ftp server controls specific to .net that seem to
work quite well , the 2 I know of are from Mabry software and PowerTCP

scott
 
L

laimis

Nick said:
Is it necessary to re-invent FTP? Is there some reason you can't use the
one that comes with IIS?

IIS? Are you kidding me? IIS is probably the worst FTP server ever. I
have been developing and working with windows solutions for over 5 years
now and I would not recommend IIS as a FTP server to anyone.

Laimis
 
L

laimis

Nick said:
Is it necessary to re-invent FTP? Is there some reason you can't use the
one that comes with IIS?

IIS? Are you kidding me? IIS is probably the worst FTP server ever. I
have been developing and working with windows solutions for over 5 years
now and I would not recommend IIS as a FTP server to anyone.

The person asking the question does seem to be confused about the client
and server. If you need to connect to the FTP site and list the files
there and get or upload some, then you need an FTP client which is not
too complicated to write and I am sure there are plenty of components
available.

Laimis
 
A

Abhishek

I apologise for confusing everyone here.
Actualy need both the functioning. Server and the client.
But as of now I have put out the idea of the server, that i'll e attempting
in the later version of my s/w
At present what i want is an application that will work something similar to
CuteFTP.

Thanks
Abhishek
 
A

AlexL [Xceed]

Hi Abhishek,

Did you consider a 3rd party FTP server component? We don't make a
server (but we do make a client, see below) component, or I would
mention it, but I am *sure* one of our competitors has one, though I
cannot vouch for the quality level. But if you choose a reputable
vendor, you should end up with your desired solution in 100% managed
code.

I just Googled this: "ftp server .net component" and I found a few
companies with them.

For the Xceed FTP *client* component, check out:

http://www.xceedsoft.com/products/ftpnet

I apologise for confusing everyone here.
Actualy need both the functioning. Server and the client.
But as of now I have put out the idea of the server, that i'll e attempting
in the later version of my s/w
At present what i want is an application that will work something similar to
CuteFTP.

Thanks
Abhishek

--
Alex Leblanc
Xceed Software Inc.
http://www.xceedsoft.com

Check out our advanced .NET grid and SmartUI controls

Email: (e-mail address removed) (remove the first 'x')
 
C

Chad Z. Hower aka Kudzu

AlexL said:
Did you consider a 3rd party FTP server component? We don't make a
server (but we do make a client, see below) component, or I would
mention it, but I am *sure* one of our competitors has one, though I

Indy includes and FTP server, and is free with source.
http://www.indyproject.org/


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Make your ASP.NET applications run faster
http://www.atozed.com/IntraWeb/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top