Repository navigation
Conversation
|
curl FTP file listing works such that it requires an ending slash to trigger it. This ensures that the result is either a file listing or an error (vs. either, depending on the state of the filesystem). It'd be useful to replicate that here as well IMO. |
This is a good suggestion. I'll fix that. |
|
What about the targets (like MSVC) that does not have |
Nothing will happen in these cases. There are preprocessor conditions that check for the existence of |
|
Interesting, |
9a88ef9 to
ba65d85
Compare
|
The fuzzer found problems. This now has merge conflicts. |
01e34d6 to
dc14d2c
Compare
|
This PR has conflicts and still has test failures. |
|
Does this patch support --list-only as well? That would simplify one use case I have. |
|
I haven't forgot the PR yet, but I'm currently very busy. It may take until christmas holidays, until I find some free time again :/ |
dc14d2c to
af18bb2
Compare
|
Rebased to 99f72c0 |
af18bb2 to
3727825
Compare
Not yet, but it seems like a good suggestion. I will first try to investigate the CI and fuzzer fails though. |
6b84faf to
0879a07
Compare
This commit refactors the file_do() function, by placing much of the logic into a separate function called fetch_file(), which in turn contains a partially refactored version of the previous code found for fetching files. The driving force behind that commit is the possibility to add a later feature for a directory listing, such as the one found in FTP.
b8e9db7 to
6e84a21
Compare
d12500b to
5e7f645
Compare
This commit implements support to the file:// protocol for directory listings, similar to FTP.
5e7f645 to
ff0233c
Compare
Based on #9745This commit implements support to the file:// protocol for directory
listings, similar to FTP.
Directory entries are printed as follows:
MODE SIZE MTIME NAMEAn example directory listing: