Remote / External File Storage Compatability Remote / External File Storage Compatability
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Remote / External File Storage Compatability

Started by soldstatic, November 11, 2005, 12:59:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

soldstatic

In short: I need coppermine to access files outside of its directory structure.

I love CPG and I currently have 4 websites with it installed. LOVE IT!!!!!

I'm just now trying to play with the different file types (other than jpg).
Basically my problem is that I have 3 HDD on my computer that is my server. Windows OS. Got the webserver running great and CPG installed easily. However, the HDD I have my webserver (and cpg) installed on is small and doesn't have room for any of my div x or mp3 or whatever. Is it possible to batch add files from other locations (other HDDs) than under that file structure???

I need this feature! it would be extremely fantastic. extremely. amazingly.

please help!

thanks in advance, -Andy

Abbas Ali

Suppose you want your "albums" directory to be at "/home/albums". Your coppermine installation is at "/var/www/html/cpg/".
Then create a symlink "/var/www/html/cpg/albums" which will point to "/home/albums"
i.e. /var/www/html/cpg/albums -> /home/albums

Now you can FTP your files to /home/albums

Make sure that /home/albums is writable by webserver.

I have not tried this but theorotically this should work.
Chief Geek at Ranium Systems

Joachim Müller

that's how you'd accomplish this on Lunix. However, soldstatic appears to be running Windows. There's a similar thing to symlinks on Windows, take a look at http://www.pearlmagik.com/winbolic/. Read the caveats extra carefully!

Abbas Ali

oops missed Windows OS. Not my fault, linux is controlling my mind ;)
Chief Geek at Ranium Systems

soldstatic

lol ya linux can do that i hear.

anyway, i'll check into that link in a few minutes.

My buddy was telling me that microsoft actually came out with a patch or something that resembled symlinks... anyone know of an actual microsoft version of the symlink feature?

soldstatic

ok well i got winbolic, and i created a folder "link" under cpg albums, and i then created shell links within that...

not working... any ideas? I guess I'll try a "junction" whatever that is... gotta do some reading first but i'll use that next. I'll keep you posted.

soldstatic

ok well, neither of those worked, tried both kinds. is it something with apache? how does apache see those folders and what not?

soldstatic

ok this is odd...

all this research on symlinks and the like, well I created a "junction" which is supposedly pretty much invisible to all windows apps (almost all of them).

well wait first:
i did some moving of files around and moved my server to another harddrive (the one with the movies on it) and i actually had put a bunch of the movies in a subfolder of Albums after the move. copied them there. then I copied other movies to the rest of the HDD (not using junction and not putting in the same folder). then I created a junction to the other movies.

well CPG is working perfectly with the ones I had initially put in the subfolder of Albums, but I actually MOVED them with windows to another directory, so i have NO IDEA why thats working?!??!????

and it doesn't see the other subfolders in albums (and therefore sees nothing else).

Now, unless it sees the junction for the first folder and not the junctions to the other folders well i have no idea whats going on....!?!?!/??

any thoughts?????

soldstatic

allrighty, got it workin. last night I turned off my computer with the server on it, and this morning booted it to play around some more. It seems the reboot may have solidified the winbolic change i made.

anyway for future reference and for those trying to do the same thing:

i'm using winbolic on win xp. (I'm using a JUNCTION not shell link). works perfectly.