We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28060
    • 2 Posts
    I currently am using file upload/download on the same page... I want users to be able to upload to the directory they are currently viewing... How could i go about doing this?

    [!FileDownload? &browseDirectories=’1’ !]
    [!FileUpload? &extensions=`zip,jpg,bmp,doc` &maxsize=`4194304` &tpl=`fileup` &path=`/downloads`!]


    this is what i am currently using for the setup. Could i have /downloads path so it changes depending on where they are in the directory?
    Tried using fancyupload but ran into a lot of problems.

      • 28060
      • 2 Posts
      Guess nobody knows! , another question for those who read this... When using file upload how would i add it so they can add a description for the file?
        • 19726
        • 239 Posts
        Fileupload was never designed for adding descriptions and such. It was meant to just upload a file and nothing else.

        You could use eForm to upload files and use an other field in the form for the description. This would require some additional programming, but I think it is possible with the hooks that eForm offers.