Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336274 - [server] Handle overwrite on import
Summary: [server] Handle overwrite on import
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2011-02-03 14:11 EST by John Arthorne CLA
Modified: 2015-05-05 14:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2011-02-03 14:11:56 EST
Import should support a "no-overwrite" option that would
fail in the case where files with the same name already exist, like we do for our other creation methods:

http://wiki.eclipse.org/Orion/Server_API/File_API#Notes_on_POST_method
Comment 1 Jay Arthanareeswaran CLA 2012-02-27 09:58:27 EST
I can take a look at this if we still need this.

Do we need all the overwrite options as in the "SFTP From..." use case?

1) Cancel the transfer 
2) Always overwrite destination 
3) Overwrite if source is newer
Comment 2 John Arthorne CLA 2012-02-27 11:14:18 EST
I think we just need overwrite or cancel in this case. Another very popular request related to import is being able to import a single file (non-zip). If you are interested that would be another great one to look at (see bug 335890).
Comment 3 John Arthorne CLA 2015-05-05 14:54:03 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html