On my web site, I hold documents (.doc, .txt, .pdf) in a different folder from images.
How can I get images to upload to a different folder from documents.
I'm running the editor inside a script which is in a sub-folder from root, so I've changed line 123 in RTE_setup.asp to read
Const strSaveFileFolderPath = "../Documents" and line 150 to read
Const strFileUploadPath = "..\Documents"
though it's not clear to me which one is correct.
However it's fine - the documents are being uploaded to the /Documents folder.
I'd like the images to be uploaded to the /Images folder.
I tried changing line 160 to read
Const strImageUploadPath = "../images"
and line 175 to
but images are being loaded to the Documents folder.
What am I doing wrong or is not possible to upload documents and images to separate folders ?
Of course, I could have 2 separate forms, but that seems rather wasteful.