[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [task #13036] Allow variables in xfer.file.download_path

From: WakiMiko
Subject: [Weechat-dev] [task #13036] Allow variables in xfer.file.download_path
Date: Mon, 13 Jan 2014 18:12:55 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0


                 Summary: Allow variables in xfer.file.download_path
                 Project: WeeChat
            Submitted by: wakimiko
            Submitted on: Mon 13 Jan 2014 06:12:54 PM GMT
                Category: xfer plugin
         Should Start On: Mon 13 Jan 2014 12:00:00 AM GMT
   Should be Finished on: Mon 13 Jan 2014 12:00:00 AM GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: 



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

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. 


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]