coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: Ciccio on March 07, 2005, 12:29:33 PM

Title: batchadding a tarball
Post by: Ciccio on March 07, 2005, 12:29:33 PM
Hi,

I have a problem with batchadding a tarball, it simply doesn't want to do it.

I have tested it with a small tarball and a big one, and I only get the icon for PB
PB : means that the file could not be added, check your configuration and the permission of directories where the files are located
the directory in which the file is located is with chmod 777 so it shouldn't be a problem.
The filesize is not the issue cause i have changed it to big enough like 400MB
The only thing which it could be is that a tar ball is not allowed to be batchadded, I checked it out in the config on the place allowed files and it said ALL.  Unfortunately i could not find what ALL contains.  does it contain a tarball?

any help would be apriciated.
Title: Re: batchadding a tarball
Post by: Ciccio on March 07, 2005, 03:00:12 PM
Problem solved,

tar was not a known extension.  It took me a while before I relised that the extension was in the mysql database so I added a new line to the filetype table in the copermine database.  I added

tar | application/tar | document into that table


sorry for the stupid question


ciccio