Skip to content

New VERSION v5.0.1 (faster download process: no bot) Latest #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 26 commits into
base: 4.x
Choose a base branch
from

Conversation

Mirakud
Copy link

@Mirakud Mirakud commented Apr 20, 2024

The old files are no longer downloadable due to parameters added to links by Discord recently. The parameters affected are "ex", "is", and "hm". However, I propose a solution to resolve this issue.

@Mirakud Mirakud changed the title Old files are no longer downloadable due to parameters added to links by Discord recently [FIX] Old files are no longer downloadable due to parameters added to links by Discord recently Apr 21, 2024
@Mirakud
Copy link
Author

Mirakud commented Apr 21, 2024

Total storage added (count files size at the root ONLY)
image

@alessio-ds
Copy link

Unfortunately, even by adding the bot, the files cannot be downloaded by ddrive if a couple days pass :/
Did you manage to get it working correctly? @Matrixx-Js

@xanning
Copy link

xanning commented Jul 8, 2024

any updates on this?

@Mirakud
Copy link
Author

Mirakud commented Jul 12, 2024

#111 (comment)

@Mirakud
Copy link
Author

Mirakud commented Jul 15, 2024

@alessio-ds @xanning

@Mirakud
Copy link
Author

Mirakud commented Jul 31, 2024

New version/optimisation++ : https://github.com/Matrixx-Js/ddrive4/releases/tag/Latest

@Mirakud Mirakud changed the title [FIX] Old files are no longer downloadable due to parameters added to links by Discord recently New VERSION v5.0.1 (faster download process: no bot) Latest Jul 31, 2024
@Mirakud
Copy link
Author

Mirakud commented Aug 1, 2024

If you are interested @alessio-ds @xanning

@alessio-ds
Copy link

If you are interested @alessio-ds @xanning

Not doubting this won't work for very old files, but did you have any chance trying it extensively? Is it faster or slower compared to using the bot?

I will try it deeply in the following days. I have created some scripts to test upload, download and fetch speed if you're interested.

TY!

@xanning
Copy link

xanning commented Aug 3, 2024

i got a fileserver for what i was aiming for but thanks maybe on some future project

@alessio-ds
Copy link

@Matrixx-Js
add to the readme that you need to:

npm install dotenv
npm install axios

@Mirakud
Copy link
Author

Mirakud commented Aug 12, 2024

If you are interested @alessio-ds @xanning

Not doubting this won't work for very old files, but did you have any chance trying it extensively? Is it faster or slower compared to using the bot?

I will try it deeply in the following days. I have created some scripts to test upload, download and fetch speed if you're interested.

TY!

I've been using this version since it was released here and it works well. It's much more optimized so that it doesn't consume a lot of resources when you're not downloading.

What's more, even for older files, it works properly, with the same throughput as the bot.

@Mirakud Mirakud mentioned this pull request Sep 7, 2024
@miks555
Copy link

miks555 commented Sep 8, 2024

After using the software for a period of time, the total storage indicator is malfunctioning. Folders with blank names cannot be deleted or selected, except through direct database manipulation. When sending multiple files simultaneously, there's a risk of files not being transmitted, necessitating manual counting. Displaying the number of files within each folder would be helpful. Additionally, an option to view the exact number of bytes would be a valuable and straightforward addition. While the configuration file offers optional settings like REQUEST_TIMEOUT, the program's behavior without these settings is not described, requiring code inspection.

@alessio-ds
Copy link

Tested it multiple times - even with big files (70GB & 30GB upload and download simultaneously).
The average speed is about 13.5MBps both ways, which is considerably fast.
@Matrixx-Js you did a great job 🚀

Total storage added (count files size at the root ONLY)

regarding this, if you refresh the folder it keeps adding up, but it's something which can be fixed later on.

Folders with blank names cannot be deleted or selected, except through direct database manipulation.

not true. Click on the name of the folder, wait for a few seconds (yes, really) and THEN press delete.
no idea why, but it works. This issue was present on the original version of ddrive as well

@Agagamand
Copy link

Agagamand commented Feb 18, 2025

Downloading old files works! The speed is good!
But...
If try to upload a file larger than 25 MB, the file is not displayed.... As if it is not uploaded. Why can this happen?

I'm using v5.0.1 from here: https://github.com/Mirakud/ddrive4/releases/tag/Latest

@Mirakud
Copy link
Author

Mirakud commented Feb 19, 2025

You need to alter the size of uploads in .env due to a discor* update.
I suggest :
config/.env
CHUNK_SIZE=10165824

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants