object.TemporaryFolder [=value]
This property specifies the temporary directory the uploaded file will be stored into before being moved to the target directory defined in FileFolder property.
This property may be changed if some specific conditions happen. For instance, if there is not enough space in the default temporary directory, the alternate location can be used.
Note: The value for the property is set only if the pointed folder exists. Absolute filesystem paths should be used to avoid context ambiguities.
If Form1.FileUpload1.FileSize > 1024*1024 Then Form1.FileUpload1.TemporaryFolder = "c:\temp\" Else Form1.FileUpload1.TemporaryFolder = "c:\windows\temp\" End If