i have seperate directories for browsing images and documents, i want to keep them seperate.
I edited the files that i could find:
config.js
upload.asp
created fileupload.asp which is reflected in config.js however as much as I've tried I can't for the life of me figure out why its uploading everything to the images directory anyway.
the reason for the separation is that the files are listed using filesystemobject and i don't feel to write a lot of redundant code to parse out the images, when i can just as easily have two folders.
there are no issues with permissions and the uploads do occur. I just can't find anywhere in the code where i can declare specifically the folder for upload, besides the sDirUrl = "/docs/" in the newly created fileupload.asp
the sDirUrl = "/images/" is the correct path for the upload.asp page, its of no issue.
is there something perhaps in the class_upload.asp that i'm unfamiliar with that may be redirecting the uploads to the images folder? or is it in the dialog window itself?
I haven't been able to find it
Wed, 06/23/2004 - 14:14
#1
RE: image upload vs file upload?
the issue has been resolved
RE: image upload vs file upload?
well... i was totally wrong, and i figured it out, and next time i'll take a little more time to read the code