Logo Search packages:      
Sourcecode: jftp version File versions  Download package

boolean net::sf::jftp::net::FtpConnection::chdir ( String  p  )  [inline]

Parses directory and does a chdir(). Does also fire a directory update event.

Returns:
True is successful, false otherwise

Implements net::sf::jftp::net::BasicConnection.

Definition at line 2371 of file FtpConnection.java.

References fireDirectoryUpdate().

Referenced by exists().

    {
      //Log.out("Change directory to: "+p);
      String tmpPath = p;

        boolean tmp = chdirWork(p);

        if(!tmp)
        {
            return false;
        }
        else
        {
            fireDirectoryUpdate(this);

            return true;
        }
    }


Generated by  Doxygen 1.6.0   Back to index