newbie question: multiple directory listing

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
maros
-


Joined: 07 Dec 2006
Posts: 1

PostPosted: Thu Dec 07, 2006 8:58 am    Post subject: newbie question: multiple directory listing Reply with quote

Is there a easy way to integrate multiple directories into one virtual directory? This seems easy but I haven't seen anything on this so far.

For example: d:\Media\Photos & e:\Media\Photos into /photos

I want to do this seemlessly so that any slideshow programs, scripts, etc would be able to read everything together.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Dec 07, 2006 1:45 pm    Post subject: Re: newbie question: multiple directory listing Reply with quote

maros,

You can write a script that will merge the contents of both directories and display them. That script will then be put in /photos.

But the server cannot have 2 real directories associated with the same alias merged: what to do when scripts are running there (should they run in dir1 context or dir2's?) Another problem occurs when there are two files with the same name (for example test.jpg) in both directories. Which one to serve when someone requests /photo/test.jpg?
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
rami_ejailat
-


Joined: 20 Dec 2006
Posts: 1

PostPosted: Wed Dec 20, 2006 5:16 pm    Post subject: Reply with quote

There's an alternative way that I'm currently using, but it has a bug that I'm trying to resolve.

1) I use zFTPsrever to merge the direcotories (freeware FTP server)

2) Now, I use FTPDrive (http://killprog.com/fdrve.html) to map the FTP account into a Windows physical drive, for example, F:\

3) Finally, I create an alias in Abyss for this F:\ drive and use it.

Now, for the limitation and the workaround:

This works but with one critical issue: at windows startup, Abyss doesn't recognize this mapped drive. I have to restart FTPDrive to make it work, restarting Abyss doesn't help. If Abyss is configured to start as a Windows Server, this restart is inevitable!

4) As a workaround, I used a startup manager to delay the startup of Abyss for 1 minute to make sure the FTPDrive has fully started. This configuration seems to be working so far.

If anybody has a simpler solution, I'd love to hear about!
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group