Upload to various folders

Results 1 to 2 of 2

Thread: Upload to various folders

  1. #1
    Totally Lost Guest

    Default Upload to various folders

    I am trying to give the option to the user to upload to different folders on another drive on the webserver. I have been able to have the user upload to a specific folder, just confused how to allow the user to upload to different folders.<BR>All help is greatly appreciated. Thank you.<BR>Z

  2. #2
    otherwise Guest

    Default RE: Upload to various folders

    I think I know what you are asking and here is my best shot. I&#039m using saFile up to upload files to a staging server via the web. I currently display the file structure for the client to navigate through, but if I were to setup a menu - I&#039d set up different upload options for the user to choose from. These options should all pass the corresponding value to my upload form to dictate path (i.e.: &#060;form enctype="multipart/form-data" method="post" action="myupload.asp?dir=c:inetpubwwwrootxxxxlahb lah"&#062;). And in your upload script read the passed path [myPath = CStr(Request("dir"))] and upload it that way. Hope I helped. CHEERZ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts