/[mldonkey]/mldonkey/src/daemon/common/commonOptions.ml
ViewVC logotype

Diff of /mldonkey/src/daemon/common/commonOptions.ml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.102 by spiralvoice, Mon Nov 21 21:35:16 2005 UTC revision 1.103 by spiralvoice, Fri Dec 2 12:08:26 2005 UTC
# Line 950  should be interpreted as downloaded duri Line 950  should be interpreted as downloaded duri
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

Legend:
Removed from v.1.102  
changed lines
  Added in v.1.103

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26