serkan ulucan a formulé ce lundi :
Can you give mor detail
string path = Environment.GetEnvironmentVariable("TEMP") + "\\" +
File.Filename;
path = the Directory where u can upload yhe file on the user computer
u can know this variable
Environment.GetEnvironmentVariable("TEMP")
do= start=>run=>cmd (win2k or xp) or (dosprmpt on 98se)
and hit "SET"
you will see somethign like that, that's the variable on the OS
..
..
..
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\FSimon\LOCALS~1\Temp
TMP=C:\DOCUME~1\FSimon\LOCALS~1\Temp
..
..
..
So Environment.GetEnvironmentVariable("TEMP") =>
TEMP=C:\DOCUME~1\FSimon\LOCALS~1\Temp
add the "\\" + File.Filename and the path where u can upload is
path => C:\DOCUME~1\FSimon\LOCALS~1\Temp\myfile.tmp for exemple.
Is it ok?
--
Smirnoff Ice