shashi2309
10-20-2008, 10:17 AM
Hi,
I wanted to know that what does the issueCommmand method of Ftp class do?
I tried moving a file on a remote host by doing
Ftp ftpClient = new Ftp("host","user","password");
ftpClient.connect();
String resp = ftpClient.issueCommandCheck("mv test /test2");
But I am getting the following exception.
com.jscape.inet.ftp.FtpException: 500 'MV /var/msf/transfers/manager/test /var/msf/': command not understood.
Please suggest
Thanks
Shashi
I wanted to know that what does the issueCommmand method of Ftp class do?
I tried moving a file on a remote host by doing
Ftp ftpClient = new Ftp("host","user","password");
ftpClient.connect();
String resp = ftpClient.issueCommandCheck("mv test /test2");
But I am getting the following exception.
com.jscape.inet.ftp.FtpException: 500 'MV /var/msf/transfers/manager/test /var/msf/': command not understood.
Please suggest
Thanks
Shashi