Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] set modification time on upload file #38

Open
ghost opened this issue Sep 19, 2021 · 0 comments
Open

[Feature Request] set modification time on upload file #38

ghost opened this issue Sep 19, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 19, 2021

I'm analyzing fhe protocol for upload file.
With wireshark I sniffed and decrypted TLS traffic while using megacmd.
When there is an upload there is this POST

POST /cs?id=XXXXX&sid=XXXXXX&ak=XXXXXX&lang=en HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: MEGAcmd/1.2.0.7 (debian 11/Linux 5.10.0-8-amd64 x86_64) MegaClient/3.6.9
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
Content-Length: 51

[{"a":"u","v":2,"s":12800,"ms":0,"t":["nqJExLDK"]}]

the latest version of go-mega has only a and s key in json. I don't know what means v : 2 I think version, I don't understand what is ms from cpp code. The key t is for targetuser
I hope someone can help to understand better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
and others