Alaska Software Inc. - Download files from webfolder
Username: Password:
AuthorTopic: Download files from webfolder
Pintér Balázs Download files from webfolder
on Mon, 29 Nov 2004 08:28:44 +0100
Is there a solution to list the contents of a webfolder,
copy and delete files form it using user name and password
(https).

Thank You in advance

Pintér Balázs
Boris Borzic Re: Download files from webfolder
on Mon, 29 Nov 2004 13:51:52 +0100
Pintr Balzs <recias@mail.datanet.hu> wrote in news:41AACFAB.746767A1
@mail.datanet.hu:

> Is there a solution to list the contents of a webfolder,
> copy and delete files form it using user name and password
> (https).

The HTTP protocol provides the PUT and DELETE commands for uploading and 
deleting files on a server. You should find out if your HTTPS server 
supports these commands, in addition you will need a directory listing 
(unless you already know the file name to copy or delete).

You can use the client-side components in Xb2.NET SSL to communicate with 
the HTTPS server and perform any action you like. To download the Xb2.NET 
demo, send an email to demo@xb2.net with subject "xb2.net demo"

Once you have the demo, have a look at the GETWEB.PRG sample. It shows you 
how to retrieve a file from the an HTTPS server.

Best regards,
Boris Borzic

http://www.Xb2.NET
http://www.SQLExpress.net
industrial strength Xbase++ development tools
Pintér Balázs Re: Download files from webfolder
on Tue, 30 Nov 2004 06:51:38 +0100
Thank You Boris
I'll try Your solution.

Best regards,
Pintér Balázs

Boris Borzic wrote:
> Pintér Balázs <recias@mail.datanet.hu> wrote in news:41AACFAB.746767A1
> @mail.datanet.hu:
> 
> 
>>Is there a solution to list the contents of a webfolder,
>>copy and delete files form it using user name and password
>>(https).
> 
> 
> The HTTP protocol provides the PUT and DELETE commands for uploading and 
> deleting files on a server. You should find out if your HTTPS server 
> supports these commands, in addition you will need a directory listing 
> (unless you already know the file name to copy or delete).
> 
> You can use the client-side components in Xb2.NET SSL to communicate with 
> the HTTPS server and perform any action you like. To download the Xb2.NET 
> demo, send an email to demo@xb2.net with subject "xb2.net demo"
> 
> Once you have the demo, have a look at the GETWEB.PRG sample. It shows you 
> how to retrieve a file from the an HTTPS server.
> 
> Best regards,
> Boris Borzic
Phil Ide
Re: Download files from webfolder
on Mon, 29 Nov 2004 16:38:30 +0000
Pintér,

> Is there a solution to list the contents of a webfolder,
> copy and delete files form it using user name and password
> (https).

Yes, but you need to know the format of WebDAV commands.  This is based
upon HTTP (HTTPS providing security).  WebDAV is an extension to the basic
HTTP commands of GET, POST, OPTIONS, HEAD, PUT, DELETE, TRACE, CONNECT.

Regards,

Phil Ide

***************************************
* Xbase++ FAQ, Libraries and Sources: *
* goto: http://www.idep.org.uk/xbase  *
***************************************

I found the tests quite elementary.