Bug 196471

Summary: [FTP] Improve Error Displayed for Move failing when destination contains folder by same name
Product: [Tools] Target Management Reporter: Kevin Doyle <kjdoyle>
Component: RSEAssignee: Javier Montalvo Orús <javier.montalvoorus>
Status: NEW --- QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: minor    
Priority: P4 CC: dmcknigh
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kevin Doyle CLA 2007-07-13 11:20:51 EDT
This bug is created from the discussion of bug #196211.

When you try to move a folder, on an ftp connection, to a directory where a folder exists by the same name an error Dialog is displayed.

Error Dialog:
Operation failed. File system input or output error
Details: Message reported from file system: 550 Rename/move failure: Directory
not empty

It would be better if it reported that it didn't work as the destination
contains a folder by the same name.

It would be even better if the Duplicate Name Collision dialog didn't allow you
to choose the Overwrite operation in this case.

-----------Enter bugs above this line-----------
TM 2.0 Testing
installation : eclipse-SDK-3.3
RSE install  : RSE 2.0
java.runtime : Sun 1.5.0_11-b03
os.name:     : Windows XP, Service Pack 2
------------------------------------------------
Comment 1 Javier Montalvo Orús CLA 2007-07-16 09:41:50 EDT
The error "550 Rename/move failure: Directory not empty" is directly reported by the FTP server, not by RSE. It depends on the FTP server implementation, as in my case a WinNT FTP server reports: "550 /eclipse/TargetManagement/test22/test: Cannot create a file when that file already exists."