I'm trying to rename the temporary file generated by RadAsyncUpload, but cannot find a property that contains the temporary file name value. I thought there was a TemporaryFileName property on RadAsyncUpload which would allow me to do this, but I cannot find it. Below is some basic code with my comments on what did not work. Is it possible to rename the temporary file in the TemporaryFolder location before I move it to its final destination? Thanks in advance.
(RadAsyncUpload1.UploadedFiles.Count > 0)
//This is the actual file name of the selected file, not the temporary file name in the TemporaryFolder directory, so this didn't work.
string filename = Server.MapPath(RadAsyncUpload1.TemporaryFolder) + "\\"
string outputFileName = "MyNewFile.pdf";
string newFilename = Server.MapPath(RadAsyncUpload1.TemporaryFolder) + "\\"
//Now rename the file in the TemporaryFolder directory. This is a property on RadAsyncUpload. Failed because filename did not exist.