Hello,
I am using the latest RadUpload Ajax control (Q3 2008).
I wonder if I am allowed to do a File.Move (faster) instead of a radFile.SaveAs in an exemple such as this one:
Best regards,
Sam
I am using the latest RadUpload Ajax control (Q3 2008).
I wonder if I am allowed to do a File.Move (faster) instead of a radFile.SaveAs in an exemple such as this one:
string fullFileName = radfile.GetName() + Guid.NewGuid().ToString("N"); |
try |
{ |
File.Move(radfile.GetName(), fullFileName); |
} |
catch(IOException ioe) |
{ |
radfile.SaveAs(fullFileName); |
} |
Best regards,
Sam