Thread overview
Internet Library For Tango
Nov 20, 2007
Lars Ivar Igesund
Nov 20, 2007
Regan Heath
November 20, 2007
Is There another internet library for tango besides the one it possesses.  One that allows you to use the same thing for ftp and http without you having to worry about what you're using.  This would be nice if it is in existence.

Lester L. Martin II
November 20, 2007
Lester L. Martin II wrote:

> Is There another internet library for tango besides the one it possesses. One that allows you to use the same thing for ftp and http without you having to worry about what you're using.  This would be nice if it is in existence.
> 
> Lester L. Martin II

AFAIK, this don't exist yet, but we hope to get FTP and HTTP/WebDav support via our Virtual File System interface.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango
November 20, 2007
Lars Ivar Igesund Wrote:

> Lester L. Martin II wrote:
> 
> > Is There another internet library for tango besides the one it possesses. One that allows you to use the same thing for ftp and http without you having to worry about what you're using.  This would be nice if it is in existence.
> > 
> > Lester L. Martin II
> 
> AFAIK, this don't exist yet, but we hope to get FTP and HTTP/WebDav support via our Virtual File System interface.
> 
> -- 
> Lars Ivar Igesund
> blog at http://larsivi.net
> DSource, #d.tango & #D: larsivi
> Dancing the Tango

I've needed to use FTP via FTP client and have written a class that "supposedly" hides if it's ftp or not from the user.  Problem is tango's FtpClient cannot resolve ftp://ftp.digitalmars.com/ or htttp://ftp.digitalmars.com/

See the exception for yourself
tango.core.Exception.AddressException: Unable to resolve host 'http://ftp.digitalmars.com/'

besides that I'd be willing to donate my ftp/http indifference code once it can do FTP.

I'm not familiar with WebDav.

If any of the information above was useful or you would like me to donate my ftp/http indifference code when finished please let me know.

Lester L. Martin II
November 20, 2007
Lester L. Martin II wrote:
> See the exception for yourself
> tango.core.Exception.AddressException: Unable to resolve host 'http://ftp.digitalmars.com/'

I suspect you need to pass just the host name, not the complete URL form.  i.e. strip ftp:// from the front and /..etc from the end.

Regan
November 20, 2007
Regan Heath Wrote:

> Lester L. Martin II wrote:
> > See the exception for yourself
> > tango.core.Exception.AddressException: Unable to resolve host 'http://ftp.digitalmars.com/'
> 
> I suspect you need to pass just the host name, not the complete URL form.  i.e. strip ftp:// from the front and /..etc from the end.
> 
> Regan


Thanks that is just the information I needed; now I can rewrite my library to use a progress bar

Lester L. Martin II
November 20, 2007
Lester L. Martin II Wrote:

> Regan Heath Wrote:
> 
> > Lester L. Martin II wrote:
> > > See the exception for yourself
> > > tango.core.Exception.AddressException: Unable to resolve host 'http://ftp.digitalmars.com/'
> > 
> > I suspect you need to pass just the host name, not the complete URL form.  i.e. strip ftp:// from the front and /..etc from the end.
> > 
> > Regan
> 
> 
> Thanks that is just the information I needed; now I can rewrite my library to use a progress bar
> 
> Lester L. Martin II

If someon with authority in tango will give me the go I'll rewrite it once again to rid it of the need of progress bars(needed for dinstaller) so it will be generic and usable for you.  Maybe you could use it for tango vfs (HTTP/FTP) or maybe not; I don't know. I am more than willing to donate my code to you who have created such a fine library for me and others to use. Thanks tango group and maybe you will want my download wrapper class.
Lester L. Martin II