开发者

Java Apache FTPClient: How to know my current directory

My question is simple: i'm using the Apache commons.net API in a simple app which connects to an FTP, i can change the working directory with the ch开发者_Go百科angeWorkingDirectory method. but... how can i know my current directory whitout changing it?


printWorkingDirectory() 

Returns the pathname of the current working directory. Here's the reference.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜