Closed dylangerdaly closed 2 years ago
The string
dlimit
doesn't even exist in the ffsend repo?I assume I'd need to add it here -> https://github.com/timvisee/ffsend/blob/master/src/action/upload.rs#L338
ffsend
is broken up into two parts. This CLI repository, and the API crate ffsend-api
.
The dlimit
property is set within the API crate, which explains why you couldn't find it in this repository.
This CLI application starts the upload here, after which the API crate handles the actual upload.
FileInfo
struct sent over the websocket is defined here: https://github.com/timvisee/ffsend-api/blob/744c8d48fdd24c25f7e025ac81aca0f55e1c7728/src/file/info.rs#L6-L40This is somewhat messy, sorry for that. I never had the time to properly clean things up.
Fantastic, thank you, I'll play with this today!
Nice job on all of this btw :+1:
Thanks! Feel free to post here if you need any further guidance.
Hi,
I've added a
password
string to the ws API, the server uses this to either allow or deny the upload, I can't seem to see where this data is sent via ffend.This works great with the JS version of Send however I can't seem to add this to
ffsend
The string
dlimit
doesn't even exist in the ffsend repo?I assume I'd need to add it here -> https://github.com/timvisee/ffsend/blob/master/src/action/upload.rs#L338