Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

imusing this line to save files from my pc to a server:

 

myFile.PostedFile.SaveAs(Server.MapPath("./.")+strFilePath);

 

how would i change this to allow me to save the file into a spcified location on the server?

Posted

well, the way i want it to work is this:

there are 3 different departments in my building.

 

they all have a little page on the web site.

 

rather than letting them update it by messing with the html and wrecking it i want to create an asp page where they log on, they can then add /delete/change the content of their page.

 

the file upload is for them to upload pictures.

 

i want to be able to load the pics into a different directory , depending on who is logged on ( eg. sales will have their pics stored in a folder called salesPics, purchaces in purchacesPics etc)

 

i want to know how do i select a particular directory on the server to upload the images into?

 

hope this is a decent explination

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...