File is uploading but not showing saved images..?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Raj deepak
    New Member
    • Mar 2014
    • 1

    File is uploading but not showing saved images..?

    Microsoft VBScript runtime error '800a0005'

    Invalid procedure call or argument

    /Fanfashion/includes/upload.asp, line 138


    getting this error and mine code is



    Code:
    Set oFS = Server.CreateObject("Scripting.FileSystemObject")
    		If Not oFS.FolderExists(sPath) Then Exit Sub
    		
    		Set oFile = oFS.CreateTextFile(sPath & FileName, True)
    		Response.Write("FileData:" &LenB(FileData))
    		For nIndex = 1 to LenB(FileData)
    		    oFile.Write Chr(AscB(MidB(FileData,nIndex,1)))
                'oFile.Write FileData
    		Next
    
    		oFile.Close
    	End Sub
    Last edited by Rabbit; Mar 11 '14, 04:20 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
Working...