Open GoogleCodeExporter opened 8 years ago
I've found a fix for this. SSHExec.java at the very bottom is a function
called traverseDataDir(). The problem occurs when a file it's picked up is on
the parent directory you passed into the uploadAllDataToServer. There's a
split function that returns an array of size 0 because the 2 parameters are
equivalent.
You can correct it by making an If else around it:
if(parentDir.getParent().toString().replace('\\', '/').equals(parentRootPath))
{ dataList.put(parentDir.getPath().toString().replace('\\', '/'),"");
}
else{
//Do original code
}
}
Original comment by kmal...@fenwayx.com
on 20 Jan 2015 at 6:42
Original issue reported on code.google.com by
i.ramandas
on 29 Aug 2013 at 3:43