aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: How to get part file name from amuleweb PHP during donwload?  (Read 1735 times)

dvt

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
How to get part file name from amuleweb PHP during donwload?
« on: December 05, 2008, 09:45:17 AM »

Here is my code

      $downloads = amule_load_vars("downloads");
      foreach ($downloads as $file)
      {
         echo "<div>".$file->short_name."</div>";
         echo "<div>", CastToXBytes($file->size_done), "&nbsp;(",
               ((float)$file->size_done*100)/((float)$file->size), ")</div>";
      }

The "$file->short_name" gives me whole filename, but is there any construction or way, which will give me temporary file number for exmaple "001.part" during download?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: How to get part file name from amuleweb PHP during donwload?
« Reply #1 on: December 05, 2008, 10:03:35 AM »

Hi,

Sorry, I'm afraid there's currently no such possibility.
Logged