View Single Post
Old 07-10-2009, 03:11 AM  
jeza
Senior Member
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

i have no idea if there is a manual for that.
i usually use foreach loop trough inputs args, to see what is there.

u have also ioFTPD environmnet variables (PATH, USER, SPEED, ...) available in your program. u can find them in /etc/ folder i think.

just use a method as if u were looking for some WINDOWS ENV variable.

Code:
windows:
Environment.GetEnvironmentVariable("windir");
...

ioFTPD:
Environment.GetEnvironmentVariable("USER"); //username of the user who uploaded the file
Environment.GetEnvironmentVariable("SPEED"); //average speed the file was uplaoded with
...
here is also nice example to start with:
https://oss.azurewebsites.net/forum/showthread.php?t=5992

Last edited by jeza; 07-10-2009 at 03:23 AM.
jeza is offline   Reply With Quote