Print Page | Close Window

SA Fileup not working

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=508
Printed Date: 30 March 2026 at 4:36am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: SA Fileup not working
Posted By: jfontaine
Subject: SA Fileup not working
Date Posted: 25 February 2003 at 8:42am

i get the following error when trying to upload files, or images:

Microsoft VBScript runtime error '800a01b6'

Object doesn't support this property or method: 'ShortFilename'

/forums/functions/functions_upload.asp, line 208

I have checked line 208:

strNewFileName = .ShortFilename

is there something I can change this to??

thx




Replies:
Posted By: WebWiz-Bruce
Date Posted: 25 February 2003 at 8:51am
Only later versions of SaFileUp are presently supported, you will have to ugrade to the latest version of this upload component, above 3.7 I think it is.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jfontaine
Date Posted: 25 February 2003 at 6:17pm

ok,

version issue fixed...

now i get this error when trying to upload:

The file uploaded is of the wrong file type.
Files must be of the type, zip, rar

Similar error with images:

The image uploaded is of the wrong file type.
Images must be of the type, jpg, jpeg, gif, png

anyone know why this is looping?



Posted By: WebWiz-Bruce
Date Posted: 25 February 2003 at 6:24pm
Make sure the setup is correct in the admin area and that you are uploading a file or image of the correct file type.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: jfontaine
Date Posted: 25 February 2003 at 7:50pm

i checked the file types and they were correct.

for S&G's i changed line 208 to:

strFilename = Mid(.UserFilename, InstrRev(.UserFilename, "\") + 1)
and it now works  for both files and images!!!
i don't know why...



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net