Forums

This topic is locked

Pure ASP-Upload (multiple destination folders)

Posted 02 Aug 2001 02:24:15
1
has voted
02 Aug 2001 02:24:15 Marcelo Jimenez posted:
Is there a way to upload to several folders using pure asp file upload? ( the destination folder depends of the user that will upload, this is a request from the customer).

PLEASEEEEEE HELPPPPPPPPPP

Replies

Replied 02 Aug 2001 17:38:38
02 Aug 2001 17:38:38 Waldo Smeets replied:
No <img src=../images/dmxzone/forum/icon_smile_sad.gif border=0 align=middle> You will have to wait for version 2 that will support this.

Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 02 Aug 2001 17:55:08
02 Aug 2001 17:55:08 Marcelo Jimenez replied:
Thanks!, but i got the solution, and here is for somebody else with the same problem.

My customer's site is a service for schools and students. Who upload the images to the database is every school's administrative, and the image corresponds to each e student picture.
So when the school administrative login is done, i get the destination upload folder name corresponding to that school (this is stored in the database in the schools table) and this value is stored in a session variable. In this case the session var is "xColeg", then in the upload / insert page is necessary to modify the following line:

GP_curPath = Trim(Mid(GP_curPath,1,InStrRev(GP_curPath,"/") & Session("xColeg")

Obviously the upload behavior is previously aplied to the page.

For me was the solution and works very well.

(sorry for my english)

Best regards from Santiago de Chile.
Marcelo Jimenez
Replied 02 Aug 2001 21:10:12
02 Aug 2001 21:10:12 Waldo Smeets replied:
Your english is fine <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle> I am glad you found a good solution for your problem. Well done!

Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic