Hello,
I just used an 'attach file' option to stick a file up. However, I'm used to these social network do-da's like Facebook and MySpace etc, so didn't think twice about giving it a really generic filename (in this case 'screendump.jpg'). Then I had a sudden panic when I saw it had uploaded to 'http://csscreator.com/files/screendump.jpg'. Does that mean I've just automatically overwritten any files previously named 'screendump.jpg' from a forum?
Also, does this mean it best to name attached files uniquely. Such as with my username and then the file name or something?
Thanks,
John
Sounds like a drupal bug.
Sounds like a drupal bug. Uploaded files really do need to be given a unique name - or at least give each user their own namespace.
Drupal Bug
Hi Chris,
I can some examples of 'Drupal Bugs' on the web, but no definition. What's a Drupal Bug then? I realise it's nothing I can do or fix, clearly it's a site thing, just curious.
Thank you,
John
Drupal is the underlying CMS
Drupal is the underlying CMS on which this site is built. Uploading is either a module within drupal or part of another module. Either way, it shouldn't really be possible (it may not be of course ) for one user to overwrite the content created by another user.
Cross.jpg
D'you know, I reckon this still goes on!
Last file I tried to upload went to the directory http://csscreator.com/files/
I occassionally do this and then reference that file in my post dragging it in as an image which works. I'm just curious though, say below we've got an image I've attached and included called 'cross.jpg', are you then able to change that just by uploading a file called cross.jpg yourself?
Personally I've taken to naming all my files with my username as a prefix in the hope of avoiding this, but it would still be quite an easy mistake to make right?
Does anyone want to try uploading cross.jpg to see if it changes this image?
Attachment | Size |
---|---|
cross.jpg | 1.34 KB |
Solved
Ok, nevermind!
http://csscreator.com/node/25120
I tried to download this guys files but whilst they're listed as seen on the OP, they're actually named with numbers just before the extension, presumably to reflect how many files by that name exist already and distinguish them.
Either way, it's answered my question,
Cheers,
John
Better provide unique name
hai,
It would be better if you provide unique name for each file such that the files can be easily identified with the name which avoids overwritten of files.
Mod edit/ Promotional links removed. Links are available to members in their signature line after a period of time on the forum.