Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-13-2008, 09:58 PM
Member
 
Join Date: Sep 2008
Posts: 1
magaupe is on a distinguished road
FTP private directory problems with org.apache.commons.net.ftp.FTP
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with ftp, commons library jurka Networking 0 09-01-2008 07:46 PM
How to make Apache Commons (StringUtils etc...) work with Eclipse? chrvi New To Java 0 07-31-2008 06:09 PM
Commons Library Framework 0.8.0 JavaBean Java Announcements 0 10-02-2007 06:13 PM
Commons validator aczuczor Web Frameworks 0 07-27-2007 10:46 AM
org.apache.commons.mail.EmailException: Cannot find valid hostname Ed Advanced Java 2 07-02-2007 10:03 PM


All times are GMT +3. The time now is 08:56 AM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org