Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 418978 - Cannot SFTP import into top-level folder whose name ends in ".js"
Summary: Cannot SFTP import into top-level folder whose name ends in ".js"
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-08 21:59 EDT by Mark Macdonald CLA
Modified: 2015-05-05 14:53 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 Mark Macdonald CLA 2013-10-08 21:59:27 EDT
1. I have a top-level folder named "impress.js"
2. From nav, select it and use SFTP Import...
3. Enter credentials, hit Start
4. Server returns an error 500, "Internal error during transfer"

The same operation works OK on a top-level folder whose name does not end in .js

A quick look at the code suggests that we interpret .js as a file extension, and then chop it off, and then can't find a folder on disk with the resulting name:

> localRoot = NewFileServlet.getFileStore(req, path.removeFirstSegments(1).removeFileExtension());

Strange
Comment 1 John Arthorne CLA 2015-05-05 14:53:10 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