Link to home
Start Free TrialLog in
Avatar of RalphMercurio
RalphMercurio

asked on

Upload a file to a server via ASP

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?
Avatar of kevp75
kevp75
Flag of United States of America image

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...
Avatar of RalphMercurio
RalphMercurio

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of kevp75
kevp75
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial