|
Article PS02022385
FileName property is not supported error |
Problem Description
When using the property FileName of the UploadedFile object, the following error
is generated:
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'FileName'
Solution
The property File.FileName was introduced
by AspUpload 3.0 to replace a more verbose File.ExtractFileName .
These two properties are completely equivalent.
The above error message
indicates that your server is still running version 2.1 or earlier
of AspUpload. Therefore, you should either upgrade to AspUpload 3.0+ or replace FileName by ExtractFileName . The latter
is supported by all versions of AspUpload (including 3.0+) for backwards compatibility.
Created: 2/23/2002 8:00:21 PM
Last Modified: 12/15/2010 3:24:47 PM
Copyright © Persits Software, Inc. 1998 - 2023
For technical support, write to support@persits.com.
|
|