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 pluginShould Start On: Mon 13 Jan 2014 12:00:00 AM UTC
Should be Finished on: Mon 13 Jan 2014 12:00:00 AM UTCPriority: 5 - Normal
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: None
Originator Name: Open/Closed: Open
Planned Release: NoneIRC 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 File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1