Saves this converted file to the specified path.
Namespace:
Aurigma.ImageUploaderFlash
Assembly:
Aurigma.ImageUploaderFlash (in Aurigma.ImageUploaderFlash.dll)
Public Sub SaveAs ( _ fileName As String _ )
public void SaveAs( string fileName )
Type: System.String
The path to save this converted file to.
The main difference between SaveAs(String) and
MoveTo(String) methods is in the following. By the moment when the
FileUploaded or AllFilesUploaded event is fired, ASP.NET
server-side part of Image Uploader Flash 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 MoveTo(String) 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 MoveTo(String)
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.