5 replies
by fgarber
Here's the code to upload a file using cpshost and asp. It's all free.
I have to code to handle the file after it gets to the server but i will have to email it to you.
<%@ Language=VBScript %>
<%
Option Explicit
Dim strServerURL
Dim strTargetURL
Dim strRepostURL
Dim strPathToPA
Dim strPostingURL
strServerURL = "http://" + Request.ServerVariables("SERVER_NAME")
strTargetURL = strServerURL & "/yourdirectory"
strRepostURL = "http://" + Request.ServerVariables("SERVER_NAME") & "/xferfinish.asp"
strPathToPA = strServerURL & "/Scripts/cpshost.dll"
strPostingURL = strPathToPA + "?PUBLISH?" + strRepostURL
%>
by adouani
by hclarius
Check out article "File Uploading with ASP and VBScript" at
http://www.asptoday.com/articles/20000316.htm
shows you and explains how.
by adouani
by adouani
This discussion is closed to new replies.
Trending Desktop posts
Sort by Trending