Even after changing the working directory of FileTransferClient the new folder is created at root location.

0 votes
asked May 17, 2019 by mayank1707 (280 points)

I am changing the working directory of FileTransferClient after connect and login. Then I try to create a directory name abc. So this directory should be created under working directory.

Instead it is created under root itself.

Applies to: Rebex FTP/SSL

1 Answer

0 votes
answered May 17, 2019 by Lukas Pokorny (128,250 points)

Please use FileTransferClient's LogWriter property to create a communication log and either add it to your post or mail it to support@rebex.net for analysis. Based on the log, we should be able to tell what is going on.

commented May 19, 2019 by mayank1707 (280 points)
After going through the generated rebex logs I found out the problem. The directory path that I wanted to create started with a '/' and hence it was always creating directory at root.