Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create files for individual user in their folder

Status
Not open for further replies.
Nov 16, 2002
24
US
I want to upload users' files and save them into uploaded\userfolder, there may be 100 folders for each different individual, will this work? (I use session id as each folder's name. Since the whole page didn't work, I wonder this is right)

Dim pathToFile, idpath
idpath = Session("id")
pathToFile = Server.mapPath("idpath/") & "\" & fileName

' Uploading file data
Dim fileUploaded
fileUploaded = load.saveToFile ("file", pathToFile)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top