problem on createDirectory() func.

0 votes
asked Feb 10, 2010 by nejla (120 points)
edited Feb 12, 2010

i had create a directory on some ftp server and upload some files, but in a similar way i couldnt done it for another ftp server. it give "unknown directory" bug, so it didnt create given directory. what can i do?

Applies to: Rebex FTP/SSL
commented Feb 11, 2010 by Lukas Pokorny (124,610 points)
Please send us the communication log created using the Ftp object's LogWriter property (as described at and post it here or mail it to - we should then be able to tell what is going on!

1 Answer

+1 vote
answered Feb 12, 2010 by Lukas Pokorny (124,610 points)
edited Feb 12, 2010

It looks like the main problem was creating a subdirectory structure with more than one level. Use the CreatePath method for this purpose.