how to avoid overwriting of uploaded files.
Posted: Thu Jul 30, 2009 5:20 am
ok. i'm using UPLOADS module and it's working fine alone (i set it up to add the author name as a filename prefix to avoid over writing)
But when i tried using UPLOADS module Via FORM BUILDER module (specifically in an upload field,
i had an error when i tried to upload a new file with the same filename as a previously uploaded one but with different contents.
this is the error (Error committing file to the uploads module,...............file already exists)
is there a way to solve this problem
and is there a way to add simple number (1,2,3,4,5,6.......) NOT the author name or date to an uploaded filename to avoid overwriting?
thanks
But when i tried using UPLOADS module Via FORM BUILDER module (specifically in an upload field,
i had an error when i tried to upload a new file with the same filename as a previously uploaded one but with different contents.
this is the error (Error committing file to the uploads module,...............file already exists)
is there a way to solve this problem
and is there a way to add simple number (1,2,3,4,5,6.......) NOT the author name or date to an uploaded filename to avoid overwriting?
thanks