Re: SSH RemoteUri bug

2004-04-08 Thread Stefan Bodewig
On Thu, 8 Apr 2004, Rami Ojares <[EMAIL PROTECTED]> wrote: > isRemoteUri() method in Scp.java is seriously flawed. true. > Therefore I propose that for Scp there should be for example > remoteFile and localFile attributes instead of file. We can only do that in addition to the existing file att

SSH RemoteUri bug

2004-04-08 Thread Rami Ojares
Hi, isRemoteUri() method in Scp.java is seriously flawed. private boolean isRemoteUri(String uri) { boolean isRemote = true; int indexOfAt = uri.indexOf('@'); if (indexOfAt < 0) { isRemote = false; } return isRemote; } A local file path can very well on windows and un