JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 21.05.2021, 18:54
sancrage sancrage is offline
Baby Loader
 
Join Date: Jul 2018
Posts: 5
Default Rename the filename to be the same as the folder name

Wonder if you know of a way to rename the filename to be the same as the folder name when I provide the save path?
Reply With Quote
  #2  
Old 21.05.2021, 20:43
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Do you really mean folder name(directory on disk) or the package name(folder/package name in JDownloader list) ?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 21.05.2021, 20:54
sancrage sancrage is offline
Baby Loader
 
Join Date: Jul 2018
Posts: 5
Default

Yes, the same as the directory.
Reply With Quote
  #4  
Old 23.05.2021, 15:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

That's not that easy because the directory is not *known/available* at the time when packagizer rules are processed but should be possible via Eventscripter script.
See/ask here for help, https://board.jdownloader.org/showthread.php?t=70525
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 23.05.2021, 15:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

I still don't know if you really want the filename to have foldername, because that means that you can just have a single/just one file in that folder because all links will have the same filename?!
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 08:57.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.