Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - SA Fileup not working
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SA Fileup not working

 Post Reply Post Reply
Author
jfontaine View Drop Down
Newbie
Newbie
Avatar

Joined: 18 November 2002
Location: United States
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote jfontaine Quote  Post ReplyReply Direct Link To This Post Topic: SA Fileup not working
    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

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jfontaine View Drop Down
Newbie
Newbie
Avatar

Joined: 18 November 2002
Location: United States
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote jfontaine Quote  Post ReplyReply Direct Link To This Post 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?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jfontaine View Drop Down
Newbie
Newbie
Avatar

Joined: 18 November 2002
Location: United States
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote jfontaine Quote  Post ReplyReply Direct Link To This Post 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...
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.