' If a file is ready Public Function IsFileReady() As Boolean Dim lcFile As String = "" Dim llSuccess As Boolean = False ' Reset the values lIsFileReady = False ' Initialization lcFile = Trim(cFile) ' If the file is empty If lcFile.Length = 0 Then cMessage = cYouNeedToDefineTheCFileProperty Return False End If ' If the file can be opened for exclusive access it means that the file is no longer locked by another process Try ' Try to open the file for exclusive access Using loFileStream As System.IO.FileStream = System.IO.File.Open(lcFile, _ System.IO.FileMode.Open, System.IO.FileAccess.Read, System.IO.FileShare.None) lIsFileReady = loFileStream.Length >= 0 End Using llSuccess = True Catch loError As System.Exception cMessage = loError.Message End Try ' Reset the values cFile = "" Return llSuccess End FunctionI uploaded the 180 MB file. I run this code while the upload was in progress. The Try/Catch falls in the Catch as it says "The process cannot access the file 'FullFilePathHere' because it is being used by another process."