May be you can use an external program with the following:
string exec(string command, string [array] , int [return_var] );
Then have it stored in a folder that you would want it downloaded from
Its kinda round about I agree, but till something better comes up