Giter VIP home page Giter VIP logo

Comments (6)

ilaoyao avatar ilaoyao commented on August 15, 2024 1

Hello! The tool creates a zip archive only when sending more than one file per transfer. Is this your case?

Thanks! Claudio

In addition, when I discussed this issue with my friends, we all agreed that this is set up for security reasons, such as unknown apk files are unknown risks to Android. But is it possible to add a parameter or a switch to set the file suffix not to be modified?

002

ilaoyao

from qrcp.

claudiodangelis avatar claudiodangelis commented on August 15, 2024

Hello! The tool creates a zip archive only when sending more than one file per transfer.
Is this your case?

Thanks!
Claudio

from qrcp.

ilaoyao avatar ilaoyao commented on August 15, 2024

Hello! The tool creates a zip archive only when sending more than one file per transfer. Is this your case?

Thanks! Claudio

no, when I try to transfered a single file from my windows PC (eg. d:\001\002.cmd), when I used a phone to scan the QR code and received a file name 002.txt). but it;s not all files will be like this. if the file's ext-name just like .zip, .iso,.pdf..., it will transfered with the orignal ext.
.cmd, .apk and some other's type will be changed to .txt automatic.

upload screentshot pics....
00

aff0cb3c0cd4c31e446c7817bd996ec

26c4ccd6056e96d61b80357dbe25d71

ps. multi-files and a folder will be created a zip-file, it's right!
at last. thx ur great job. it's amazing....

from qrcp.

claudiodangelis avatar claudiodangelis commented on August 15, 2024

Ah, thanks for providing more context.
Yes, I would agree this is a security measure implemented by the browser.

Maybe you can add the --zip flag when sending, so once you receive the file you will just unzip it on the mobile, it should be smoother than replacing the extension manually.

Let me know if this helps, and thanks for the feedback!
C

from qrcp.

ilaoyao avatar ilaoyao commented on August 15, 2024

yes, --zip flag can make ot right, and i test this way already.

i just wonder, in your codes, i don't find any line about to change the send-file's ext-name change to .txt, only in page.go i can see your code add .txt to non-ext-name file.

sincerely
ilaoyao

from qrcp.

claudiodangelis avatar claudiodangelis commented on August 15, 2024

Hello, I will close this issue for now as this is not something we have control over.
Thanks for reporting!

from qrcp.

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.