Hi All,
Please help me . I am getting aspSmartUploadf ile error while uploading file
I have already instrall aspSmartUpload. dll and aspSmartUploadu til.dll. how to solve this error. thanks.
I get error this line [HTML]objFile.saveas( strPath & strSaveAsFilena me)[/HTML]
Error Type:
aspSmartUpload. File (0x80040460)
Unable to save file (Error 1120)
[HTML]
Set objSmartUpload = Server.CreateOb ject("aspSmartU pload.SmartUplo ad")
For Each objFile In objSmartUpload. files
If objFile.Size>10 048000 Then
Response.Write "<script>alert( 'Warning:Due to Company Policy,The upload file size can not larger than 10M.Please change the file.');</script>"
else
If Not objFile.ismissi ng Then
strSaveAsFilena me = GetSaveAsFilena me(strFileID)
strOriginalFile name = objFile.filenam e
strContentType = objFile.Content Type
objFile.saveas( strPath & strSaveAsFilena me)
End If
Next
Set objSmartUpload = Nothing
[/HTML]
Please help me . I am getting aspSmartUploadf ile error while uploading file
I have already instrall aspSmartUpload. dll and aspSmartUploadu til.dll. how to solve this error. thanks.
I get error this line [HTML]objFile.saveas( strPath & strSaveAsFilena me)[/HTML]
Error Type:
aspSmartUpload. File (0x80040460)
Unable to save file (Error 1120)
[HTML]
Set objSmartUpload = Server.CreateOb ject("aspSmartU pload.SmartUplo ad")
For Each objFile In objSmartUpload. files
If objFile.Size>10 048000 Then
Response.Write "<script>alert( 'Warning:Due to Company Policy,The upload file size can not larger than 10M.Please change the file.');</script>"
else
If Not objFile.ismissi ng Then
strSaveAsFilena me = GetSaveAsFilena me(strFileID)
strOriginalFile name = objFile.filenam e
strContentType = objFile.Content Type
objFile.saveas( strPath & strSaveAsFilena me)
End If
Next
Set objSmartUpload = Nothing
[/HTML]
Comment