claudiodangelis/qrcp

Can Qrcp run with a log file?

ilaoyao opened this issue · 3 comments

I'm opening this issue because:

  • I have found a bug
  • I want to request a feature
  • I have a question
  • Other

Is there a FLAG like -log that can create a log file in the %temp%-folder, when qrcp is running ?
in the log file we can see the url address..

Hello! There is no such flag yet, honestly I'm not sure how much valuable it would be in general terms.
Do you have any specific usecase for this? (i.e.: debugging, etc?)

Thanks for your continued support!
Claudio

yes, I want to make a GUI-windows to show the qrcode, not in a cmd-windows, i just want the current qrcd-cmd url.
eg. if the qrcp.exe is running, then i can hide the cmd-windows, instead of a GUI window, but i need a current url address to show on this gui windows.

so can it create a log-file in temp folder, file-name is just like qrcp-PID.txt. and write the current url address in this file, so i can read the url-address from this file. so i can hide the cmd-windows and show the gui-windows,just like blow(this GUI is one of my apps for a third-qrcp app (base on your qrcp).

111

even more, can create a png file with transparent backgound,so can show the qrcode in the gui.

sincerely
ilaoyao

Hello, knowing your IP, you could try passing the --path and --port flags to make the URL predictible:

qrcp --path file --port 8080 /yourfile.txt

The resulting URL will be:

http://<your IP>:8080/send/file

Let me know if this helps, thanks!