News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Uploads Duplicated and Renamed

Started by UnMortal, 29.10.2015 22:48:34

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

UnMortal

Joomla 3.4.5 (recently updated)
jDownloads Version 3.2.39 (recently updated)

I've noticed our uploads sometimes get a duplicate file with a 0 appended to the end. Similar to:

next_week_file.xlsx
next_week_file0.xlsx
current_week_file.xlsx
current_week_file0.xlsx

This probably wouldn't matter to most people except I'm using some other script to call the Excel file and display it in HTML page. The real problem is that my other script sometimes calls the wrong file. So my question is, is there a way to prevent this behavior so the file is always named the same thing? ie never duplicated.

Thanks,
Steve
  •  

ColinM

Hi Steve
This is strange - duplicates should not occur!  Not sure what is causing this.    My main test site has same Joomla and jD as you have

Could you detail please how you do you xslx uploads?

Particularly do you have automonitoring active?  Also do you have any CRON jobs?  Do you know if it happens with other file types?  Are your spreadsheets Macro Enabled?

Colin
Colin M
  •  

UnMortal

Thanks Colin,
I have been running an older version (3.2.15 I think) so I cant say for sure that this behavior also happens in 3.2.39, I'm just assuming it does. I should probably correct it by removing all of the duplicates and see if it returns.

We do uploads through the Joomla front end using the jD interface. What is maybe different than most jD users is that we re-upload the same file once or twice daily. jD automatic monitoring is disabled and there are no cron jobs related to these files. It is happening with other file types, I see duplicate *0.doc files as well.
  •  

ColinM

Steve
Yes it would be a good idea to start again with a 'clean sheet'. 
I have tried to simulate what I think you do. But to no avail.  Could you perhaps do a step by step sequence for us please as once a problem can be reproduced solution is usually straightforward.

Colin
Colin M
  •