question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: copy link and root_dir

See original GitHub issue

As stated here https://github.com/misterunknown/ifm/issues/104#issuecomment-445807144, the ‘copy link’ button is hidden when root_dir is set.

I have noticed that, although the default behavior of the Download button is to send a POST request to the server, the same request works when sent as GET.

Example:

curl -o file.zip "http://localhost:8080/?dir=myfolder&filename=file.zip&api=download"
curl -o myfolder.zip "http://localhost:8080/?dir=&filename=myfolder&api=zipnload"

Maybe the ‘copy link’ button could have that format of URLs when root_dir is enabled.

I know it is nothing compared to http://localhost:8080/myfolder/file.zip, but it adds the convenience factor of having easy access to the link. Besides, it allows for copying a link to download a whole folder 😃

off-topic: IFM is great!

Sorry if this is a repeated issue.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
misterunknowncommented, May 24, 2019

I noticed that the default language is now German? Was that intended? I don’t see a problem with it since IFM_LANGUAGE is easy to set.

Oh, no, that was by accident… I just fixed that.

Apart from that I guess everything should work, so there is nothing particular to test. Anyway, if you notice any bugs in daily use, just let me know.

Cheers, Marco

PS: The edit of your post was also by accident, I didn’t know about the list-feature yet^^

1reaction
misterunknowncommented, May 21, 2019

I just created a branch, but still have some work to do, as it does not work in all of my testcases, yet. I had to work on some parts of the code which I haven’t touched in years 😛

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature request: auto-locate project root dir · Issue #68 - GitHub
This is a duplicate with issue #43 . Since so many people request for this feature, I'll add it later.
Read more >
Finding the root directory of a multi module Maven reactor ...
I want to use the maven-dependency-plugin to copy artifacts from all sub-modules of my multi-module project to a directory that is relative to...
Read more >
Filesystem Publishing - aptly
rootDir : The publish directory, e.g., /opt/srv/aptly_public . · linkMethod : This is one of hardlink , symlink or copy . It specifies...
Read more >
Allow user to specify root folder for artifacts (#1057) - GitLab
File on disk is located in <build_dir>/root/dir/file.txt artifacts: root: root ... related to upcoming products, features and functionality.
Read more >
TSConfig Reference - Docs on every TSConfig option
It would be an error to specify rootDir as core and include as * because it creates a file ( helpers.ts ) that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found