Follow-up Comment #4, patch #4649 (project mldonkey):
updated patch
* some log cleaning
* added information to notification email if auto_commit is disabled, email
is sent by file_completed, not file_commit
* moved execution of !!file_completed_cmd from file_completed
to file_commit, kept option name for easier upgrading
this was done because the filename of a downloading file can be
different than the filename of the committed file if a file
with the same name as the to be committed file is already in
incoming. older method did not take this into account at all..
* improved option description, here is a copy:
(* A command that is called when a file is committed, does not work
on MinGW.
Arguments are (kept for compatability):
$1 - temp file name, without path
$2 - file size
$3 - filename of the committed file
Also these environment variables can be used (prefered way):
$TEMPNAME - temp file name, including path
$FILEID - same as $1
$FILESIZE - same as $2
$FILENAME - same as $3
$FILEHASH - internal hash
$DURATION - download duration
$INCOMING - directory used for commit
$NETWORK - network used for downloading
$ED2K_HASH - ed2k hash if MD4 is known *)
file_completed_cmd = ""
_______________________________________________________
Additional Item Attachment:
File name: 4649_2.patch Size:10 KB
<http://savannah.nongnu.org/patch/download.php?item_id=4649&item_file_id=5514>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=4649>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
_______________________________________________
Mldonkey-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/mldonkey-users