We have just released FileUltimate 3.0.2.
Release notes on version 3.0.2:
- Added: UploadQueue property is now available in Uploaded event for accessing all the previously completed uploads in a queue.
Starting with v3.0, Uploaded event is raised per file as files are processed one by one by the upload dialog for better performance and statistics. One other advantage is 2GB upload limit will effect files individually so there will be no limit for the total size of the files added in the upload dialog. However the disadvantage was you had to do an action for every single file (eg. send multiple emails) as Uploaded event was raised for each file.For solving this problem, this new property UploadQueue is added. "UploadQueue.IsCompleted" will allow you to do an action (eg. send an email) only when the last item in the queue is processed, ie. when the queue ends. "UploadQueue.UploadInfos" will allow you to loop through all completed UploadInfo objects for collecting information about previous uploads in the queue.
- Improved: Used gradients (instead of single color) for selections in file listing, folder tree and context menus for an improved Windows 7 look.
Here is an example C# code for the new feature:
private static void FileManagerUploaded(object sender, FileManagerUploadedEventArgs e)
{
//e.RootFolder
//e.Path
//e.UploadInfo
//e.UploadQueue
//You can do an action per file here
//You can do an action only at the end of the queue here (ie. if this is the last Uploaded event in the queue)
if (e.UploadQueue.IsCompleted)
{
//Loop through all completed uploads (including this one)
//foreach (UploadInfo uploadInfo in e.UploadQueue.UploadInfos)
// System.Diagnostics.Trace.WriteLine(uploadInfo.FileName);
}
}
Here is an example VB code for the new feature:
Private Shared Sub FileManagerUploaded(sender As Object, e As FileManagerUploadedEventArgs)
'e.RootFolder
'e.Path
'e.UploadInfo
'e.UploadQueue
'You can do an action per file here
'You can do an action only at the end of the queue here (ie. if this is the last Uploaded event in the queue)
If e.UploadQueue.IsCompleted Then
'Loop through all completed uploads (including this one)
'For Each uploadInfo As UploadInfo In e.UploadQueue.UploadInfos
'uploadInfo.FileName;
'Next
End If
End Sub
Please download version 3.0.2 from this link:
FileUltimate v3.0.2Please replace the referenced GleamTech.FileUltimate.dll with the new one and rebuild your project.
Please see the updated online examples for 3.0.2 here:
FileUltimate Online Examples