diff --git a/MegaApiClient/MegaApiClient.cs b/MegaApiClient/MegaApiClient.cs index d555646..eada6ce 100644 --- a/MegaApiClient/MegaApiClient.cs +++ b/MegaApiClient/MegaApiClient.cs @@ -479,8 +479,8 @@ public Uri GetDownloadLink(INode node) string response = this.Request(request); return new Uri(BaseUri, string.Format( - "/#{0}!{1}!{2}", - node.Type == NodeType.Directory ? "F" : string.Empty, + "/{0}/{1}#{2}", + node.Type == NodeType.Directory ? "folder" : "file", response, node.Type == NodeType.Directory ? nodeCrypto.SharedKey.ToBase64() : nodeCrypto.FullKey.ToBase64())); }