Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
7.8k views
in Java FTP by
im using the latest version to download files from a server to my machine (Windows 98) the files are copied alright, however i got this message :

Failed to calculate version: For input string: "@major_ver@"

What does it mean?

3 Answers

0 votes
by (162k points)
When do you get this message? What API call? Could you post a small code snippet?

im using the latest version to download files from a server to my machine (Windows 98) the files are copied alright, however i got this message :

Failed to calculate version: For input string: "@major_ver@"

What does it mean?
0 votes
by
Here's the code

FTPClient client = new FTPClient(url);
client.login(username, password) ;
String[] dirList = client.dir();

for(int i=0; i<dirList.length; i++)
{
   client.get(localDir+"/"+dirList[i], dirList[i]);
   client.delete(dirList[i]);
}
client.quit();
0 votes
by
oh btw, it happens on the first line

and as i said, the download seems to be working fine, i managed to download all the files, only i got that message

Categories

...