Feature Request: copy link and root_dir
See original GitHub issueAs 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:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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^^
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 😛