mldonkey-users
[Top][All Lists]
Advanced

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

[Mldonkey-users] [patch #4649] Environment variables for file_completed_


From: spiralvoice
Subject: [Mldonkey-users] [patch #4649] Environment variables for file_completed_cmd
Date: Sat, 26 Nov 2005 17:13:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.12) Gecko/20051125 Firefox/1.0.7

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/





reply via email to

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