coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: farmerjeffe on March 13, 2007, 03:04:20 AM

Title: Problems deleting files??
Post by: farmerjeffe on March 13, 2007, 03:04:20 AM
I was wondering if it was possible to remove the, for example, "video" i have on my gallery but keeping it on the server?

When i delete a file so it doesnt show up in the gallery i have to upload it again with my ftp client.

is there a way of just clearing files in the gallery but keeping them uploaded with my ftp?

thanks
Title: Re: Problems deleting files??
Post by: nickfzx on March 13, 2007, 04:30:51 AM
well you could edit coppermines code to not actually delete the file...but this isn't recommended.

Or you could use phpmyadmin to delete the files entry in your db's coppermine tables...then it will be gone from coppermine and still be on the server.
Title: Re: Problems deleting files??
Post by: eruss on March 13, 2007, 04:36:33 AM
Quote from: farmerjeffe on March 13, 2007, 03:04:20 AM
I was wondering if it was possible to remove the, for example, "video" i have on my gallery but keeping it on the server?

When i delete a file so it doesnt show up in the gallery i have to upload it again with my ftp client.

is there a way of just clearing files in the gallery but keeping them uploaded with my ftp?

thanks

One thought is to FTP to a non-Coppermine directory and then add the file using the URI/URL Uploads option.  Keep the original uploaded and then "upload" it into Coppermine anytime you want it.