12 |
http://mldonkey.berlios.de/modules.php?name=Wiki&pagename=Windows |
http://mldonkey.berlios.de/modules.php?name=Wiki&pagename=Windows |
13 |
|
|
14 |
2005/12/02 |
2005/12/02 |
15 |
|
4649: Updates for file_completed_cmd |
16 |
|
* some log cleaning |
17 |
|
* added information to notification email if auto_commit is disabled, |
18 |
|
email is sent by file_completed, not file_commit |
19 |
|
* moved execution of !!file_completed_cmd from file_completed |
20 |
|
to file_commit, kept option name for easier upgrading |
21 |
|
this was done because the filename of a downloading file can be |
22 |
|
different than the filename of the committed file if a file |
23 |
|
with the same name as the to be committed file is already in |
24 |
|
incoming. older method did not take this into account at all.. |
25 |
|
* added environment variables for file_completed_cmd, see description: |
26 |
|
|
27 |
|
A command that is called when a file is committed, does not work on MinGW. |
28 |
|
Arguments are (kept for compatability): |
29 |
|
$1 - temp file name, without path |
30 |
|
$2 - file size |
31 |
|
$3 - filename of the committed file |
32 |
|
Also these environment variables can be used (prefered way): |
33 |
|
$TEMPNAME - temp file name, including path |
34 |
|
$FILEID - same as $1 |
35 |
|
$FILESIZE - same as $2 |
36 |
|
$FILENAME - same as $3 |
37 |
|
$FILEHASH - internal hash |
38 |
|
$DURATION - download duration |
39 |
|
$INCOMING - directory used for commit |
40 |
|
$NETWORK - network used for downloading |
41 |
|
$ED2K_HASH - ed2k hash if MD4 is known |
42 |
|
|
43 |
4667: Update Ocaml download URL |
4667: Update Ocaml download URL |
44 |
4666: Always create incoming directories before commit |
4666: Always create incoming directories before commit |
45 |
4663: CryptoPP: Latest fixes ported from aMule CVS |
4663: CryptoPP: Latest fixes ported from aMule CVS |