View Single Post
  (#1 (permalink)) Old
magaupe magaupe is offline
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Sep 2008
Default FTP private directory problems with org.apache.commons.net.ftp.FTP - 09-13-2008, 02:03 PM

I'm trying to access a directory that is only visible when connected with determined user. How can I do this?
This is what's going on:
Code:
Code:
connect("ftp.e***a.intranet"); 
login("f***1","****");
These to methods return me true but when I try to change directory using changeWorkingDirectory(), passing the private directory it, returns me false as if it could not find it. I verify the current directory using printWorkingDirectory() and this is the one that is coming: "/VM/maqvm/fcpc". It seems it's just not recognizing private directories cause when I change to a public one it works fine. Why is this happening?

Any help would be appreciated.
Thanks.
Reply With Quote