### Eclipse Workspace Patch 1.0 #P org.eclipse.rse.files.ui Index: src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java =================================================================== RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.files.ui/src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java,v retrieving revision 1.54 diff -u -r1.54 UniversalFileTransferUtility.java --- src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java 10 Aug 2007 02:02:37 -0000 1.54 +++ src/org/eclipse/rse/files/ui/resources/UniversalFileTransferUtility.java 5 Sep 2007 22:07:57 -0000 @@ -23,6 +23,7 @@ * Xuan Chen (IBM) - [187548] Editor shows incorrect file name after renaming file on Linux dstore * David McKnight (IBM) - [191472] should not use super transfer with SSH/FTP Folder Copy and Paste * Xuan Chen (IBM) - [191367] with supertransfer on, Drag & Drop Folder from DStore to DStore doesn't work + * Xuan Chen (IBM) - [201790] [dnd] Copy and Paste across connections to a Drive doesn't work ********************************************************************************/ package org.eclipse.rse.files.ui.resources; @@ -1018,7 +1019,11 @@ } else { - newPathBuf.append(targetFolder.getSeparatorChar()); + int newPathBufLenth = newPathBuf.length(); + if (newPathBufLenth > 0 && !((newPathBuf.charAt(newPathBufLenth - 1) == targetFolder.getSeparatorChar()))) + { + newPathBuf.append(targetFolder.getSeparatorChar()); + } } List resources = workspaceSet.getResourceSet();