Home arrow Forum

Remository Forum

 


rmdort

 
Version Control of files - 2005/11/21 20:48 Hi,
I wanted to build a site where users can upload files, these files will have the same filename. It might be uploaded to the same category. I checked the remository component, but when i upload a file with the same file, it prompts user to change filename and upload.

Can remository comp handle automatic file renaming and version control. like

abcd.zip
abcd-1.zip

regards
vinay
  | | Sorry, you do not currently have permission to write here.
xkellyx

Karma: 0  
Re:Version Control of files - 2007/10/30 20:22 I realize that this post was originally made in 2005, but I too am interested in version control in joomla and am wondering if remository can handle the automatic renaming of files.
  | | Sorry, you do not currently have permission to write here.
tony121

Karma: -2  
Re:Version Control of files - 2007/10/30 22:36 @ xkellyx
Starting w/ 3.42, Remository can handle uploading duplicate files. Remos default is to add the fileid to the file name. So all your files will look something like fileabc.254.zip, the "254" would be the fileid. If another file named "fileabc" is uploaded, it will have a different fileid and hence a different (final) filename.

Keep in mind that the filename is the actual name of the file. The file title is a text field that can say whatever you want.

This isn't really version controll, but it may handle your needs. There is another post describing how to prevent this renaming.

I'd also bet it wouldn't be to difficult to modify the code to do exactly what rmdort described.

Post edited by: tony121, at: 2007/10/30 22:40
  | | Sorry, you do not currently have permission to write here.

Login

Subscribe to Premium Support

Get priority support for Remository and Glossary, sign up now for a Premium Support monthly subscription:

Your Remository user name

Or purchase a year's support:

Your Remository user name

Recommended SEF

SEF Advance

Who is Online

Remository welcomes guests and visitors