httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff White" <jlw...@earthlink.net>
Subject Re: [users@httpd] HTTP File upload.
Date Wed, 03 Dec 2003 16:24:22 GMT

From: "sriharsha"

>
> Is there a way to upload files to the
> HTTP server without using the
> form element <INPUT Type="File">.
>
> Can it be done using XMLHTTP?
>

Windows Scripting with VBScript scripts.

Adjust the scripts to your needs, then save
the VBScript script file to any folder. Then
in a command prompt window set to the
VBScript script's folder, use the Windows
Script Host (WSH) engine cscript.exe
by typing:

cscript.exe VBScriptFileName.vbs

Remember one can also use the script
language of your desire with the Windows
Script Host (WMI) engines.

strFile = "c:\test.txt"
xmlhttp.Open("POST", "http://localhost/receiveFile.xxx", false);
xmlhttp.Send(strFile);

open Method (IXMLHTTPRequest)
http://msdn.microsoft.com/library/en-us/xmlsdk/htm/xml_mth_or_4to4.asp

Expanded XML Support in Internet Explorer 5
http://msdn.microsoft.com/library/en-us/dnexxml/html/xml031899.asp

Using XMLHTTP to Post Commands in SharePoint Team Services
http://msdn.microsoft.com/library/en-us/dnspts/html/sts_xmlhttp.asp

http://groups.google.com/groups?q=xmlhttp+post+group:*.scripting

WebClient.UploadFile Method in .NET
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemNetWebClientClassUploadFileTopic.asp

> Also Is there a way to configure Apache to support asp pages?
>

Define asp?

Jeff



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message