Git Product home page Git Product logo

Comments (9)

daniel-j avatar daniel-j commented on July 19, 2024

The url field is to send urls to your ereader instead of typing it in manually. They appear as clickable links, similar to ebook download buttons. For example if you have the url to a pdf, drm free epub and just want to send the link instead of downloading and uploading.

from send2ereader.

pretenderlu avatar pretenderlu commented on July 19, 2024

The url field is to send urls to your ereader instead of typing it in manually. They appear as clickable links, similar to ebook download buttons. For example if you have the url to a pdf, drm free epub and just want to send the link instead of downloading and uploading.

Oh,Thanks.
But it always displays "No file or url selected"."It looks the same as before, so I haven't used this service for a long time."

from send2ereader.

daniel-j avatar daniel-j commented on July 19, 2024

You need to choose a file or url or both before clicking upload.

from send2ereader.

pretenderlu avatar pretenderlu commented on July 19, 2024

Yes, I selected a file, but in the end, it displayed "no file".

from send2ereader.

pretenderlu avatar pretenderlu commented on July 19, 2024
<-- GET / ::ffff:116.233.106.246 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
--> GET / 200 3ms 5.25kb
<-- GET /style.css?o
--> GET /style.css?o 200 3ms 2.08kb
<-- GET /common.js
--> GET /common.js 200 3ms 1.04kb
<-- GET /favicon.ico
--> GET /favicon.ico 404 1ms -
<-- GET /status/FHZ3
--> GET /status/FHZ3 200 2ms 58b
<-- POST /generate There are currently 1 key(s) in use. Generating unique key... ::ffff:116.233.106.246 Mozilla/5.0 (Linux; U; Android 2.0; en-us;) AppleWebKit/538.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/538.1 (Kobo Touch 0386/4.38.21908) Generated key 5PAV, 1 attempt(s)
--> POST /generate 200 1ms 4b
<-- GET /status/5PAV
--> GET /status/5PAV 200 1ms 58b
<-- POST /upload Incoming file: { fieldname: 'file', originalname: '(Shang Yi Jiu Ban)Bai Nian Gu Du.epub', encoding: '7bit', mimetype: 'application/epub' } FileFilter: File is of an invalid type  { fieldname: 'file', originalname: '(Shang Yi Jiu Ban)Bai Nian Gu Du.epub', encoding: '7bit', mimetype: 'application/epub' }
--> GET /status/5PAV
--> GET /status/5PAV 200 1ms 58b { message: 'No file or url selected', success: false, key: '5PAV' }
--> POST /upload 302 859ms 79b
<-- GET / ::ffff:116.233.106.246 Mozilla/5.0

The error log is as shown above. I can't use it on PC with Edge and Chrome, but it works on mobile.

from send2ereader.

daniel-j avatar daniel-j commented on July 19, 2024

Looks like the error is "File is of an invalid type", but looking at the log I'm not sure why...

from send2ereader.

pretenderlu avatar pretenderlu commented on July 19, 2024

Using the same EPUB file, when using a mobile browser, the log shows: mimetype: 'application/epub+zip', when using a desktop, it shows as mimetype: 'application/epub'.

from send2ereader.

daniel-j avatar daniel-j commented on July 19, 2024

I have added application/epub too now, try again.

from send2ereader.

pretenderlu avatar pretenderlu commented on July 19, 2024

I'm sorry, but whether it's the web page you provided or the one I redeployed myself, the same error persists. I've given up.

from send2ereader.

Related Issues (14)

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.