Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.4k views
in .NET FTP by (1.8k points)
Is it possible the CreateDirectory doesn't support a multi level directory?
If I for example try the following:

myConn.CreateDirectory("/project/1/media");
I get an error saying:
/project/1/media: The system cannot find the path specified. (code=550)

2 Answers

0 votes
by (161k points)
Yes, this depends on the FTP server, but often they don't support creation of multi level directories. You have to do it level by level.
0 votes
by (1.8k points)
I c.
Implemented it.

Thx for the input.

Categories

...