mldonkey-commits
[Top][All Lists]
Advanced

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

[Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonOptions.m


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonOptions.ml
Date: Fri, 02 Dec 2005 07:08:28 -0500

Index: mldonkey/src/daemon/common/commonOptions.ml
diff -u mldonkey/src/daemon/common/commonOptions.ml:1.102 
mldonkey/src/daemon/common/commonOptions.ml:1.103
--- mldonkey/src/daemon/common/commonOptions.ml:1.102   Mon Nov 21 21:35:16 2005
+++ mldonkey/src/daemon/common/commonOptions.ml Fri Dec  2 12:08:26 2005
@@ -950,8 +950,21 @@
     int64_option 16L
 
 let file_completed_cmd = define_option current_section
-    ["file_completed_cmd"] "A command that is called when a file is completely
-    downloaded. Arguments are: <file_name on disk> <md4> <size>"
+    ["file_completed_cmd"] "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"
     string_option ""
 
 let file_started_cmd = define_option current_section




reply via email to

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