Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SiteGalaxyUpload

Status
Not open for further replies.

uzzie123

Technical User
Mar 7, 2007
21
CA

Hi, I am creating this page where I can upload files onto a server. Here is my code on the asp page that uploads the file

<% Dim objuploadform, objfs, objfso, objfile, strfn

set objuploadform = Server.CreateObject("SiteGalaxyUpload.Form")

if objuploadform("cmdsubmitdisk") <> "" then
'save to disk
set objfs = Server.CreateObject("Scripting.FileSystemObject")
strfn = server.MapPath("/attachments") & "\" & objfs.Get
FileName(objuploadform("txtassignfile").FilePath)
set objfs = Nothing

objuploadform("txtassignfile").SaveAs(strfn)
end if
%>

I am not too familiar with uploading files onto a webserver. I followed a guide to create this code. I was also instructed to intall a SiteGalaxy Component. But at the end of it, I am getting an error: "Invalid ProgID". I am sure this has something to do with the SiteGalaxy Upload.

Can someone help? Thx


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top