By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,061 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

File is uploading but not showing saved images..?

P: 1
Microsoft VBScript runtime error '800a0005'

Invalid procedure call or argument

/Fanfashion/includes/upload.asp, line 138

getting this error and mine code is

Expand|Select|Wrap|Line Numbers
  1. Set oFS = Server.CreateObject("Scripting.FileSystemObject")
  2.         If Not oFS.FolderExists(sPath) Then Exit Sub
  4.         Set oFile = oFS.CreateTextFile(sPath & FileName, True)
  5.         Response.Write("FileData:" &LenB(FileData))
  6.         For nIndex = 1 to LenB(FileData)
  7.             oFile.Write Chr(AscB(MidB(FileData,nIndex,1)))
  8.             'oFile.Write FileData
  9.         Next
  11.         oFile.Close
  12.     End Sub
Mar 11 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.