if(useLocal)
{
con = new WebdavConnection(htmp, utmp, ptmp,
(ConnectionListener) JFtp.localDir);
JFtp.statusP.jftp.addLocalConnection("Webdav", con);
con.chdir(htmp);
}
else
{
con = new WebdavConnection(htmp, utmp, ptmp,
(ConnectionListener) JFtp.remoteDir);