Announcement

Collapse
No announcement yet.

Dos to Unix File format

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dos to Unix File format

    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>
    Scott Turchin
    MCSE, MCP+I
    http://www.tngbbs.com
    ----------------------
    True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi
Working...
X