PHP Classes

WGetAgent: Download files using the wget program

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,318 All time: 1,680 This week: 488Up
Version License Categories
wgetagent 1.0Free for non-comm...Files and Folders, Unix


This class can download files from remote sites using the wget program usually available on Linux/Unix systems.

The class can call the wget program to start the download of a file into a given directory. Optionally it may limit the download rate.

When the download is started, the class can call an given method of another class to pass the download session details like the session identifier, destination and url.

Each download session can be logged to a individual file that may be removed when the download is finished.

When the download is finished, the class may execute a given program or shell script.

Picture of Andrei Orghici
  Performance   Level  
Name: Andrei Orghici <contact>
Classes: 2 packages by
Country: Romania Romania
Age: 45
All time rank: 118030 in Romania Romania
Week rank: 286 Up3 in Romania Romania Up

  Files folder image Files  
File Role Description
Files folder imageexamples (1 file)
Accessible without login Plain text file finish_download Data Bash script that is executed when download finishes (check /tmp dir)
Plain text file Class Class source

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file example.php Example Class example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,680
This week:488Up