View Single Post
  #2293  
Old 12.06.2022, 07:58
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,553
Default

Quote:
Originally Posted by excidius View Post
But I'm not sure what to use.
link.getDownloadPath returns the full path (folder + filename). Also, the syntax is incorrect. Should be link.getDownloadPath().

To get only the download folder use:
Code:
link.getPackage().getDownloadFolder()
Reply With Quote