950 |
int64_option 16L |
int64_option 16L |
951 |
|
|
952 |
let file_completed_cmd = define_option current_section |
let file_completed_cmd = define_option current_section |
953 |
["file_completed_cmd"] "A command that is called when a file is completely |
["file_completed_cmd"] "A command that is called when a file is committed, does not work on MinGW. |
954 |
downloaded. Arguments are: <file_name on disk> <md4> <size>" |
Arguments are (kept for compatability): |
955 |
|
$1 - temp file name, without path |
956 |
|
$2 - file size |
957 |
|
$3 - filename of the committed file |
958 |
|
Also these environment variables can be used (prefered way): |
959 |
|
$TEMPNAME - temp file name, including path |
960 |
|
$FILEID - same as $1 |
961 |
|
$FILESIZE - same as $2 |
962 |
|
$FILENAME - same as $3 |
963 |
|
$FILEHASH - internal hash |
964 |
|
$DURATION - download duration |
965 |
|
$INCOMING - directory used for commit |
966 |
|
$NETWORK - network used for downloading |
967 |
|
$ED2K_HASH - ed2k hash if MD4 is known" |
968 |
string_option "" |
string_option "" |
969 |
|
|
970 |
let file_started_cmd = define_option current_section |
let file_started_cmd = define_option current_section |