Does anyone know any api call that can take say, CurDir$ and emulate Unix?

ie, lets say my FTP server has a root of

CurDir$ + "\Inbound files"

I would want to return "/" to the client.

Now, should the client make a subdirectory, I want it to be as such:


/New Folder 'Orwhatever it's named...


I can do this parsing it etc, but security is somewhat of an issue, I want specifically to SET thheh root so they cannot go back any further than g_InFilesDir (Set by user)...


Thanks,


Scott


-------------
Scott
mailto:[email protected][email protected]</A>