You may set the remote directory after successful login by passing the remoteDir applet parameter to the applet with a value equal to the full path of the directory to change to. If you are also using the createRemoteDir applet parameter the order of execution is that the directory is created first using the createRemoteDir parameter and then the directory is set using the remoteDir parameter.