taskWeeChat - Tasks: task #13036, Allow variables in...


task #13036: Allow variables in xfer.file.download_path

Submitted by:  WakiMiko <wakimiko>
Submitted on:  Mon 13 Jan 2014 06:12:54 PM UTC  
Category:  xfer plugin Should Start On:  Mon 13 Jan 2014 12:00:00 AM UTC
Should be Finished on:  Mon 13 Jan 2014 12:00:00 AM UTC Priority:  5 - Normal
Status:  None Privacy:  Public
Percent Complete:  0% Assigned to:  None
Originator Name:  Open/Closed:  Open
Planned Release:  None IRC nick: 

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 13 Jan 2014 06:12:54 PM UTC, original submission:  

It would be nice if the "xfer.file.download_path" setting allowed variables, kinda like the logger plugin already does for "logger.file.mask".

Variables that come to mind:
$nick - The user that is sending the file.
$server - The IRC server.
$filename - The name of the file you are receiving. This could also replace the "xfer.file.use_nick_in_filename" option.
$size - The size of the file.
$ip - The IP address of the sender.
Maybe date specifiers would be useful too.

With this it would be possible to sort received files by server, nickname or both.

E.g.: Setting "xfer.file.download_path" to "~/download/$server/$nick-$filename" would sort received files in directories by server and prefix the filename with the sending nick.

WakiMiko <wakimiko>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by wakimiko (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.7