9 replies
by jay eckles
It sounds like that for your purposes, setting up an FTP or SCP site would be a much better choice than setting up a web site. But, if for whatever reason you're stuck with IIS, then what you need to do is write an ASP, CGI, or Java servlet that will accept HTTP file uploads. Since you're on IIS, obviously ASP is the easiest way to go, and there are tons of file upload examples in ASP. An example of one pure ASP solution can be found here:
http://www.asp101.com/articles/jacob/scriptupload.asp
(remember to remove spaces from URL).
There's no reason this shouldn't work over an SSL connection. You might want to put the upload script in a secured (password protected) directory so that random people can't upload files to your web server.
Comment if you need more details.
Jay Eckles
www.jayeckles.com
by paul
by paul
by jay eckles
What's wrong with the link I provided in my original answer (http://www.asp101.com/articles/jacob/scriptupload.asp)? It seems pretty straightforward to me (but maybe that's because I've done it before). It shows you how to accept a file upload with only ASP. Then you just create a form with an input type=file, and the user will get a "Browse" button to locate the XML file, then when they hit submit, it's uploaded to your server. There's no difference between an XML file and any other kind of file.
Jay Eckles
PS - copying and pasting the contents of the XML file into a textarea as the previous poster describes will also work.
by paul
by paul
by paul
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending