We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Upload a file to a server via ASP

Medium Priority
Last Modified: 2010-04-06
I want to upload a file via a webpage but i dont want to use another child window or create a form, i want to pass it to another page with other information and do the processing from an asp page, is this possible or do i need to use child windows.  Possible?
Watch Question

you can do it automatically, but you will need to set the filepath as some kind of variable, then request it for the upload.

Best bet may be to use a from, that way you can browse for the file that you are uploading.

If you decide to go this route, you can do it all from 1 page.

let me know either way, and I will try some stuff out...


I think Im going to go with the first option, If i can fill a text box with the path to the file, and pass this to the next page with post, I should be able to have asp flesh it out as well.  

This is my textfield with a browse button as well:
<input name="filetoupload" type="file" id="filetoupload" size="65" >
still Possible?

sure is.  Do you know if your server has any Upload Components installed?  If so what?

Also what language(s) does your server support?  (Is it a linux server, windows server?)


Windows IIs sevrer 2003, no componets there as I know of, but I can isntall naything needed as long as we dont need to pay for it.  so it is possible?

it's possible.  even without a component.  Just figured I'd ask first because that would have been easier  :)

I'll put something together and get back to you in a little bit
ok..check this out.
let me know when you get it setup, and I'll send ya some code for the form and stuff


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.