www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D FTP Library

reply Mengu Kagan <whalberg gmail.com> writes:
Hi,

Is there an FTP library that I can use with D? If not, how can I build one?
Since I'm a beginner, please guide my way.

Thanks in advance.
Apr 20 2010
next sibling parent reply davidl <davidl nospam.com> writes:
=D4=DA Wed, 21 Apr 2010 09:39:05 +0800=A3=ACMengu Kagan <whalberg gmail.=
com> =D0=B4=B5=C0:

 Hi,

 Is there an FTP library that I can use with D? If not, how can I build=

 one?
 Since I'm a beginner, please guide my way.

 Thanks in advance.

Don't use FTP for any serious purpose. There's *NONE* stable and robust = = FTP implementation in any other languages. I don't expect any in D eithe= r. = And FTP is plain old protocol, it should be abandoned because it's not = expressive and not standardized. It's only designed for text client = honestly. Regards, DavidL -- = =CA=B9=D3=C3 Opera =B8=EF=C3=FC=D0=D4=B5=C4=B5=E7=D7=D3=D3=CA=BC=FE=BF=CD= =BB=A7=B3=CC=D0=F2: http://www.opera.com/mail/
Apr 20 2010
parent reply Eric Poggel <dnewsgroup yage3d.net> writes:
On 4/20/2010 9:48 PM, davidl wrote:
  Wed, 21 Apr 2010 09:39:05 +0800Mengu Kagan <whalberg gmail.com> д:

 Hi,

 Is there an FTP library that I can use with D? If not, how can I build
 one?
 Since I'm a beginner, please guide my way.

 Thanks in advance.

Don't use FTP for any serious purpose. There's *NONE* stable and robust FTP implementation in any other languages. I don't expect any in D either. And FTP is plain old protocol, it should be abandoned because it's not expressive and not standardized. It's only designed for text client honestly. Regards, DavidL

It's worth asking what he's using it for first. Maybe he's writing an ftp client for fun, or working with a server or web service he doesn't control that can only be accessed via ftp?
Apr 21 2010
parent Mengu Kagan <whalberg gmail.com> writes:
Hi,

I'm developing a web development IDE with D/GtkD. Many people around me
requested
an FTP feature and I also think it would be good to have one in the IDE. So
currently I need a way to download/upload files to web host, create or delete
new
directories, etc.
Apr 21 2010
prev sibling next sibling parent Walter Bright <newshound1 digitalmars.com> writes:
Mengu Kagan wrote:
 Is there an FTP library that I can use with D? If not, how can I build one?
 Since I'm a beginner, please guide my way.

In general, any library you can use for C you can use directly from D.
Apr 20 2010
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 4/21/10 03:39, Mengu Kagan wrote:
 Hi,

 Is there an FTP library that I can use with D? If not, how can I build one?
 Since I'm a beginner, please guide my way.

 Thanks in advance.

If nothing has changed Tango has an FTP module. It's quite low level compared to how it used to look.
Apr 21 2010