diff options
author | bptato <nincsnevem662@gmail.com> | 2023-09-19 00:55:49 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-09-19 01:02:53 +0200 |
commit | 50932ee701f0cb9454b145dec775ada3670ea768 (patch) | |
tree | b91aa01d713b7b04c33f04a62f946354365a6c02 /src/loader/connecterror.nim | |
parent | 8a826ba92b7c744a995a9593834d63acd6d040b3 (diff) | |
download | chawan-50932ee701f0cb9454b145dec775ada3670ea768.tar.gz |
loader: add FTP support
works, sort of still needs some work: * better dirlist, ideally make it look like file dirlist (or make file look like ftp dirlist. well, anyway, they should look the same) * absolute paths? (for now you have to append an extra slash to the path beginning) * ssh keys for sftp? (actually I haven't even tested sftp yet...)
Diffstat (limited to 'src/loader/connecterror.nim')
-rw-r--r-- | src/loader/connecterror.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/loader/connecterror.nim b/src/loader/connecterror.nim index d2af5762..5fce5287 100644 --- a/src/loader/connecterror.nim +++ b/src/loader/connecterror.nim @@ -1,6 +1,7 @@ import bindings/curl type ConnectErrorCode* = enum + ERROR_INVALID_METHOD = (-8, "invalid method") ERROR_INVALID_DATA_URL = (-7, "invalid data URL") ERROR_ABOUT_PAGE_NOT_FOUND = (-6, "about page not found") ERROR_FILE_NOT_FOUND = (-5, "file not found") |