Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 72858 Details for
Bug 194204
[ftp] Renaming Files/Folders moves them sometimes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch
patch.txt (text/plain), 1.61 KB, created by
Javier Montalvo Orús
on 2007-07-02 04:30:42 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Javier Montalvo Orús
Created:
2007-07-02 04:30:42 EDT
Size:
1.61 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.services.files.ftp >Index: src/org/eclipse/rse/internal/services/files/ftp/FTPService.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.services.files.ftp/src/org/eclipse/rse/internal/services/files/ftp/FTPService.java,v >retrieving revision 1.22 >diff -u -r1.22 FTPService.java >--- src/org/eclipse/rse/internal/services/files/ftp/FTPService.java 25 May 2007 13:29:07 -0000 1.22 >+++ src/org/eclipse/rse/internal/services/files/ftp/FTPService.java 2 Jul 2007 08:27:35 -0000 >@@ -43,6 +43,7 @@ > * Javier Montalvo Orus (Symbian) - [187096] Drag&Drop + Copy&Paste shows error message on FTP connection > * Javier Montalvo Orus (Symbian) - [187531] Improve exception thrown when Login Failed on FTP > * Javier Montalvo Orus (Symbian) - [187862] Incorrect Error Message when creating new file in read-only directory >+ * Javier Montalvo Orus (Symbian) - [194204] Renaming Files/Folders moves them sometimes > ********************************************************************************/ > > package org.eclipse.rse.internal.services.files.ftp; >@@ -812,6 +813,12 @@ > try { > FTPClient ftpClient = getFTPClient(); > >+ if(!ftpClient.changeWorkingDirectory(remoteParent)) >+ { >+ throw new RemoteFileIOException(new Exception(ftpClient.getReplyString())); >+ } >+ >+ > String source = remoteParent.endsWith(String.valueOf(getSeparator())) ? remoteParent + oldName : remoteParent + getSeparator() + oldName; > > success = ftpClient.rename(source, newName);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mober.at+eclipse
:
iplog-
Actions:
View
|
Diff
Attachments on
bug 194204
: 72858 |
72950