Moves this converted file to the specified path.
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
Public Sub MoveTo ( _ fileName As String _ )
public void MoveTo( string fileName )
The path to move this converted file to.
The main difference between SaveAs(String) and
methods is in the following. By the moment when the
FileUploaded or AllFilesUploaded event is fired, ASP.NET
server-side part of Image Uploader has already completed parsing of HTTP POST request(s)
and saved files to a temporary folder which is configured via the TempDirectory property.
When you trigger the method, it moves the file from
this temporary folder to the specified one. However, when you call the SaveAs(String)
method, it copies the file from a temporary location to the specified folder. So, the
method works faster when you transfer the file from a temporary location (which is in the
/App_Data folder, by default)
to a location on the same disk.