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

Unable to get download link for directory node #230

Open
superjerry88 opened this issue Jun 5, 2023 · 2 comments
Open

Unable to get download link for directory node #230

superjerry88 opened this issue Jun 5, 2023 · 2 comments

Comments

@superjerry88
Copy link

Description:

GetDownloadLink() stuck when it is used on a Directory Node.
GetDownloadLinkAsync() has the same issue as well.

Actual Behavior:

Code doesn't return after several minutes of waiting. It just kept waiting.

Expected Behavior:

Getting a download link or an exception if i do not have permission to generate for that node or maybe a timeout ?

Steps to Reproduce:

  1. Login
  2. Create new folder
  3. Get download link for the new folder
        private void CreateFolderAndGenerateLink()
        {
            MegaClient.Login(USERNAME, PASSWORD);

            var nodes = MegaClient.GetNodes();
            var rootNode = nodes.First(c => c.Type == NodeType.Root);
            var folderNode = MegaClient.CreateFolder("New Generated folder", rootNode);
            var url = MegaClient.GetDownloadLink(folderNode);

        }

MegaApiClient Version:
v1.10.3

@bbzkfmzyjtbf
Copy link

I have the same issue

@sfl-devops
Copy link

is any solution for the above issue?

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

4 participants
@superjerry88 @bbzkfmzyjtbf @sfl-devops and others