com.jspsmart.upload.file myfile = mysmartupload.getfiles (). getfile (0);
IF (! myfile.ismissing ()) {
Filename = myfile.getFileName ();
String suffix = filename.substring (filename.lastIndexof ('.'));
Date now = new date ();
FileName = String.Valueof (now.gettime ()) SUFFIX;
URL = "/ Download / UserDoc /" FileName;
// Save the files with its Original Names in a Virtual Path of The Web Server
Myfile.saveas (URL);