JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 21.05.2021, 17: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, 19:43
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,219
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, 19: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, 14:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,219
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, 14:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 72,219
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 23:30.
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 - 2021, Jelsoft Enterprises Ltd.