hi, As per the above your question 1. the next page what i have this below script the action page:UploadDest.asp and the below script is the code which has and its working fine when i upload the image. --- this script below i downloaded from google site ------- <% response.buffer = true 'in my tests, this seems to increase speed a bit set oUpload = server.createobject("ASPUpLoad.clsUpload") 'If nothing's entered, the .dll will save the file 'in the same path in which it resides, with the 'file name entered by the user 'THIS SAVES TO SAME DIRECTORY THE WEB PAGE IS IN 'MAKE SURE WEB USER HAS WRITE ACCESS 'TO THIS DIRECTORY (OR WHATEVER DIRECTORY YOU 'CHOOSE FOR SAVING). OTHERWISE, AN ERROR WILL OCCUR oUpload.Path = Server.MapPath(".") 'Don't worry if user leaves FileName blank. 'the dll will just save it as the file 'selected. if oUpload.Form("SaveAs") <> "" then 'get rid of any "\" chars, because we are 'setting path above. But you can set full 'path with this property to. sSplit = split(oUpload.Form("SaveAs"), "\") sFileName = sSplit(ubound(sSplit)) 'if user has specified a file type 'use that, otherwise, we will just take what's 'given if oUpload.Form("FileType") <> "Other" then if instr(sFileName, ".") > 0 then sSplit = split(sFileName, ".") sFileName = sSplit(0) & "." & oUpload.Form("FileType") else 'file type doesn't actually convert one file type to 'another. This is just used as an illustration 'of the Form Object. sfileName = sFileName & "." & oUpload.Form("FileType") end if End if oUpload.FileName = sFileName End if bAns = oUpload.Save %> FreeVBCode.com ASP Upload Example
ASP Upload Results
<% if bAns = true then %> The uploaded file was successfully saved to the host machine as <%= oUpload.Path & oUpload.FileName%>
In addition, the following information was obtained from the submitting form:
<% set objFormDetails = oUpload.FormDetails lCount = objFormDetails.Count for lCtr = 1 to lCount Response.write "Key: " & objFormDetails.Key(lCtr) & " Value: " & objFormDetails.Item(lCtr) & "
" Next %> <% else %> No file was saved due to the following reason: <%= oUpload.Error %> <% end if set oUpload = nothing %> ---------------------------- end of above script ----------------- But my main concern is how am i going to get th