Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 410506

Summary: SFTP export mixes up the parameter orders
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-06-11 12:09:21 EDT
1. Open your browser's network log
2. Select folder in orion navigator
3. Actions > SFTP to...
4. Type in some nonsense credentials, eg
 Remote host: ftp.whatever.orion.eclipse.org
 SFTP port:  22
 Remote path: /foo/bar
 User name: bob
5. Enter a password, then click Start Transfer.
5. Look in the network log. The outgoing request payload has the parameters mixed up, eg:
> Host: "ftp.whatever.orion.eclipse.org",
> OptionHeader: "sftp,whateveryourpasswordwas"  // wrong (?)
> Passphrase: "bob"   // wrong
> Path: "22" // wrong
> UserName: "/foo/bar"

This causes the export job to always fail.