开发者

Java Apache FTPClient: How to know my current directory

开发者 https://www.devze.com 2023-01-26 20:54 出处:网络
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... ho

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

精彩评论

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