Hi please help with the coed to upload a CSV file. i triied using this code which i used on msome of my pages to upload files like pictures and text files and it works pefactly
strFile = "C:\TBP_IntdevResellerReport.csv "
set galaxy = Server.CreateObject("SiteGalaxyUpload.Form")
if galaxy("upload_btn") = "Upload" then
file=galaxy("upload_file")
if len(file) > 0 then
galaxy("upload_file").SaveAs (strFile)
set galaxy=nothing
response.redirect("voise_calls.asp")
end if
end if
response.write "<form name=""upload_form"" enctype=""multipart/form-data"" action=""voise_calls.asp"" method=""post"">"
response.write "<p> Please select file to upload:</p>"
response.writye "<input type=""file"" name=""upload_file"" size=""30""/>"
response.write"<br/><br/><input type=""submit"" name=""upload_btn"" value=""Upload"" class=""FormButtons"" />"
</form>
but gives me an error that says Failed to read binary data
but if i load other type of files it works please help
you dont have to fix my code if you have one that will work better
thanx in advance