|Subject:||Re: how can i create a directory tree using Tidftp?|
|Posted by:||Remy Lebeau \(Indy Team\) (firstname.lastname@example.org)|
|Date:||Mon, 7 Dec 2009|
"Marcelo Varela da Silva" <marcelovarelasil…@yahoo.com.br> wrote in =
> I would like know how can i create a directory tree in the
> server using Tidftp?.
You have to create each folder individually. For example, if you want =
to create '/root/folder1/folder2', then you have to do something like =
// upload to folder2 as needed...
> Using Delphi on local access I do : ForceDirectories(edtTree.Text)
ForceDirectories() does something similar to the above logic, but does =
so in a recursive loop. If you want to be able to create arbitrary =
folder paths, you will have to execute the above logic recursively as =
> but i don't know how can i do it so easy in the FTP server using =
You would have to implement such a function manually.
Remy Lebeau (TeamB)
how can i create a directory tree using Tidftp? posted by Marcelo Varela da Silva on Sat, 5 Dec 2009