-
-
Notifications
You must be signed in to change notification settings - Fork 83
Description
Description:
I have a program to upload photos from my pc to a folder and i wanna make the folder publicly visible, i need the share link of the folder.
what are you trying to do
I am trying to get the GetDownloadLink and it does not work. Tried GetDownloadLinkAsync too..
Actual Behavior:
From my log, i see that it starts the process to get the link but it never continues and is stuck on the client.GetDownloadLinkAsync part.
what happens
It created a new folder,
It uploads the needed images
when i do this: Uri downloadLink = await Task.Run(() => client.GetDownloadLinkAsync(node));
it stops there, i tried everything,
Expected Behavior:
it should return the link so i could share it with whoever i want to
what should happen
I believe the issue is related to the megaapiclient, since I've tried every single thing i could think of, asked chat-gpt too and it couldn't provide me a solution.
Steps to Reproduce:
- var remoteFolder = await CreateFolderWithRetryAsync(client, localFolderPath); //works as it should
- Uri link = await client.GetDownloadLinkAsync(remoteFolder);
or if i use:
Uri link = client.GetDownloadLink(remoteFolder); my windows forms app gets unresponsive, and never works again.
I have attached an image from my log
MegaApiClient Version:
1.10.4
