Table of Contents

UploadMethod Enum

Definition

Namespace
GleamTech.FileUltimate.AspNet.UI
Assembly
GleamTech.FileUltimate.dll

Defines the possible upload methods.

public enum UploadMethod

Fields

Name Value Description
Html4 0

This method works on all browsers. Browser and Ajax methods in previous versions is merged into this method. This method always provides progress information even if the application is hosted on a shared host (medium-trust) unlike previous Ajax method which required full-trust. This is the only method that chunking the file is not possible so there is a maximum limit of 2GB per file imposed by IIS and ASP.NET.

Warning: Due to a issue in Visual Studio's web server (ASP.NET Development Server), when running the component on this web server, there can be a delay with Html4 method while uploading. This delay can be observed especially with large files: the file will be received as a whole first and then progress will start to be updated while writing to disk. Note that this will never happen when running on IIS or IIS Express.

Flash 1

This supports multiple selection at once like Html5 and Silverlight but it does not work well with large files due to problems in Adobe Flash plugin. If you are uploading files larger than few hundred MBs of files, it will probably fail before even starting the upload. Flash plugin loads the whole file into memory which is inefficient and which causes a delay before starting the upload. However this method is different than the Flash method in previous versions as it will now retain cookies and authentication headers. This method should be only used when uploading small files and multiple selection at once is required.

Silverlight 2

This is the second best one as it's similar to Html5 except it does not support drag & drop currently. Silverlight method can be a good alternative when users can not upgrade to browsers that support Html5. This method is also good for large files like Html5.

Html5 3

This is the best one as it supports unlimited file size (via chunking), multiple selection at once and drag & drop. This method is available on IE 10 and all other recent browsers. You can also drag and drop files from local folders to the upload window with this method.