Daves,
This is more a logic issue than anything.
If you want to move uploads/tempfiles (directory included), then you are
basically eliminating the directory.
If anything, you need to copy the files over, and not the whole
directory. You can't just "expand" a path in that way.
What you should do is in the uplocats/tempfiles directory is to take all
the files and all of the directories, and copy them to new subdirectories
that you create.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Daves" <db****@simnet.is> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
why the heck can't I use Directory.Move() to rename a directory
(containing files) to a entry 2 levels below e.g.
uploads/tempfiles
-> uploads/tempfiles/48/003files
if I do this in one line it says "part of the file name not found" bla bla
so I move it in two steps but then in the second step it says "the file is
being used by another process"
Is this impossible to do????
ps i'm using c#/asp.net 2.0