I changed the code to what you did and it yielded the same results as before.
.. To tell you the truth (yes I'm sorta developing this on the fly) I think what I'd much rather happen (if this is possible) is just copy an entire folder with all of it's files and folders to a newly created folder with the copy command. I was trying to cruch that one too, but couldn't figure out how to do it.
' create FileSystemObject
' check if folder exists
If Not oFSO.FolderExists(Server.MapPath("/data/abc")) Then
' do something
Using code such as this, you could easily create a procedure to
automatically create folders that don't already exist when a file is being
saved. You can have this code repeated (recursively) to create a folder
structure of any depth.
..it looks like a good theory but I wouldn't know where to start..
Last edited by theflyingminst; 02-17-2008 at 10:15 AM.
if fsob.FolderExists(mypath)=false and len(mypath)>3 then