is it possible to give a host address as the server.mappath so that files can be uploaded to the host server. ?
i get and error saying that its not a valid virtual path
is it possible to give a host address as the server.mappath so that files can be uploaded to the host server. ?
i get and error saying that its not a valid virtual path
Yes, you should be able to build a path in run time to where you need on the server.
You can also use request.serverv araibles("APPL_ PHYSICAL_PATH") if you are having problems with mappath.
Try changing your path string around, or do a response.write to see what the final string path is so you can try to see why its incorrect.
As far as uploading files there are alot of other things to be done. I have used code from www.freeaspuplo ad.net you could try.
Comment