Re: [twsocket] Local network folder with THttpAppServ?

2011-03-15 Thread Stefan Göppert
Hi,

the problem is: I don't know how to generate the links fort hese documents. 
What I've done:

1) Setting the DocDir (C:\httpdocs) and the TemplateDir (C:\httptemplates) of 
the webserver
2) Adding some allowed path's: 
webserver.AddGetAllowedPath('/', afBeginBy); 
webserver.AddGetAllowedPath('/js/', afBeginBy);
webserver.AddGetAllowedPath('/images/', afBeginBy);
- Here is no problem with generating links (relative paths) -
3) How to add and link documents that are stored somewhere else on the network?
I tried webserver.AddGetAllowedPath('Q:\test\web\Dokumente\KI', afBeginBy);

Best regards ...


--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Local network folder with THttpAppServ?

2011-03-14 Thread Francois PIETTE
is it possible to use a local network folder with THttpAppServ? How did I 
have to set the path in my application?


You mean for documents and templates ?
Yes, you can. Use either \\MyServer\MyFolder\MySubFolder or map the network 
path to a drive letter and then use the drive letter in your application.


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Local network folder with THttpAppServ?

2011-03-14 Thread Stefan Göppert
Hi,

no, I mean an additional folder with (pdf)-documents for a download.

Best regards,
Stefan
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Local network folder with THttpAppServ?

2011-03-14 Thread Francois PIETTE
is it possible to use a local network folder with THttpAppServ? How did 
I

have to set the path in my application?



You mean for documents and templates ?
Yes, you can. Use either \\MyServer\MyFolder\MySubFolder or map the 
network

path to a drive letter and then use the drive letter in your application.




no, I mean an additional folder with (pdf)-documents for a download.


I ask if it is for documents and you answer no, asking a folder for 
document...

I am tired ?

As seen from a webserver, include th eone ICS implement, any type of 
documents is exactly the same, being rendered as a webpage by the browser or 
saved to a file. It doesn't matter. And yes, the document can be stored on a 
network share/folder as I explained.


If you want to have several document folder root, you probably have to write 
some code, unless you use the seldom used Windows Mount Points 
(http://technet.microsoft.com/en-us/library/cc753321.aspx).


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be