Re: I could not use it in window service by c# - WeOnlyDo Discussion board

Re: I could not use it in window service by c# (General questions)

by yinpengxiang, Friday, August 21, 2009, 02:17 (5574 days ago) @ wodDamir

My step:
1.I login to the server;
2.I used the command ftpClient.ListDir( / ) ;
3.I used the command ftpClient.ListDir( /s ) enter a sub-folder in FTPServer named s ;
4.I used the command ftpClient.ListDir( /s/.. ) to back to the parent folder / , the RemotePath will become /s/.. but not the / ;

so every time I execute the code to change /s/.. to / , it is all.
I understand what you said, you let me use the ftpClient.ListDir( / ) instead of the ftpClient.ListDir( /s/.. ) to go to parent folder. thanks, I want to know have any way I can read the / but /s/.. when I used the command ftpClient.ListDir( /s/.. ) .

This Com component is good.

thanks,
shareach


Complete thread: