Moves a specified file to a new location from the temporary folder.
The method moves an incoming file from the temporary folder to a new location. If you use a HDD file storage, MoveTo method will increase performance and decrease a disk space requirement.
To invoke MoveTo method you must turn on an incoming file optimization.Note: You can execute MoveTo method only once.
| Exception Type | Condition |
|---|---|
| NotSupportedException | If incoming file optimization turn off. |
McHttpPostedFile Class | Mediachase.FileUploader.Web Namespace