GithubHelp home page GithubHelp logo

Comments (9)

subnub avatar subnub commented on August 22, 2024

Hey. I am having a hard time reproducing this issue. When I download a CSS file it seems to download normally, I wouldn’t think the file type should effect the download. Is it only CSS files that cause this issue? Like if you try to download a non-CSS file will it work? Or will it show the same issue?

from mydrive.

KaKi87 avatar KaKi87 commented on August 22, 2024

As a matter of fact, I'm actually reproducing the issue with all files.
I only reported this one first because I browsed the subfolders before trying the homepage files 😅
Here are screenshots.
2021-03-17 18_10_53-myDrive – Brave
2021-03-17 18_11_18-Enregistrer sous

from mydrive.

subnub avatar subnub commented on August 22, 2024

Okay that makes more sense! Definitely some type of error going on, i'm guessing something to do with configuring the app with setup. Are you getting any type of error in your terminal? If not, it is most likely some type of client issue. Please check in the terminal for any errors, and also please check in the chrome developer tools. You can get to this by pressing the 3 vertical dots on the top right of Chrome, going to More tools, and selecting Developer Tools. Make sure you are on the tab that says console. Then just attempt to download any file, and see if there is an error in the console. After all of this, let me know what error you are seeing, because that will make it all much easier.

from mydrive.

KaKi87 avatar KaKi87 commented on August 22, 2024

As I said, I was testing the demo.
I did opened devtools, and only found main updated and download file logs, but no error.
Also I'm a webdev. ;)

from mydrive.

subnub avatar subnub commented on August 22, 2024

Oh! I missed that part. The demo does NOT allow you to download, upload, edit the name, delete, or anything of the sort. Since I do not want users uploading random things, and changing names and such to things that could be non-friendly. Plus it would cost money whenever someone tries to download something.

It actually does say this in the demo tab of the readme, The Upload and Download Features, and other core features, are disabled in the demo.

But yeah, thats intended. Hopefully this clears up any questions, let me know. :)

Edit: I could probably make it so this download prompt does not even popup, since this seems to be confusing users. It defaults to downloading the HTML page since the server is blocking the request. Probably good you brought this to my attention.

from mydrive.

KaKi87 avatar KaKi87 commented on August 22, 2024

Yes, removing the popup would be a solution to your immediate issue.
However, yours is the first cloud software demo I've ever seen which blocks downloads.
Not being able to upload is common.
But, not being able to download ?
That's very weird.

from mydrive.

subnub avatar subnub commented on August 22, 2024

I am just using the free tier of Heroku, I could maybe allow users to download, but then there would be a fairly high chance of the dynamo being shut down since its using to much traffic (plus the info is also stored in Atlas, which isn't good for large files). The dynamo usually already gets to 80% of its traffic before the end of the month, so it would most likely push it over the limit.

When I first made this I didn't have much money, so It wasn't really an option to provide downloads since I do not make any money off of this. I do have a software engineering job now though. So maybe I will reconsider this. That being said, I would need to have some way to stop users from spamming downloads and trying to drive up the bill.

I am actually curious, could you link me some of these demos that does not block downloads? Like one that has file sizes similar to what myDrive has. Because I would like to see how they handle all of this.

from mydrive.

subnub avatar subnub commented on August 22, 2024

Closing due to no response, feel free to reopen if needed.

from mydrive.

KaKi87 avatar KaKi87 commented on August 22, 2024
Service Username Password Features
NextCloud auto-generated demo Preview, download, upload
ownCloud demo same Preview, download, upload
Seafile [email protected] abc Preview, download, upload
Pydio alice, bob, admin same Preview, download, upload
MinIO Q3AM3UQ867SPQQA43P2F zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG Download, upload (no preview feature)
Filestash auto-login Preview, download (upload forbidden)
Tracim [email protected] same Preview, download, upload

from mydrive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.