Title:
Cannot putFile or getFile when using key instead of password within FTP service
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Benson Myrtil / Benson Myrtil (Benson Myrtil)
Created: 08/06/2015
Components: Net Protocols
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 1
Problem Description:
After connecting to an ftp using a key instead of a file, I am unable to upload (putFile) to the directory. The connection is successful but I am unable to do anything else with it.
Steps to Reproduce:
1. Create an ftp service and open the connection.
2. Attempt to upload a file
var ftpService = new ftp();
ftpService.setServer( "[server]" );
ftpService.setConnection( 'bm' );
ftpService.setPort( 2022 );
ftpService.setUsername( "[username]" );
ftpService.setKey( "[direct path to private key]" );
ftpService.setsecure( 1 );
var results = ftpService.open();
ftpService.putFile(localFile = "testing.txt", remoteFile = "testing.txt");
Actual Result:
System throws an invalid attribute error.
Messages: Attribute validation error for tag CFFTP. It has an invalid attribute combination: action,connection,key,localfile,port,remotefile,server,username. Possible combinations are:
Required attributes: 'action,localfile,password,remotefile,server,username'. Optional attributes: 'asciiextensionlist,buffersize,fingerprint,passive,port,proxybypass,proxyserver,result,retrycount,secure,stoponerror,timeout,transfermode'.
Required attributes: 'action,localfile,key,remotefile,server,username'. Optional attributes: 'asciiextensionlist,buffersize,fingerprint,passphrase,port,proxybypass,proxyserver,result,retrycount,secure,stoponerror,timeout,transfermode'.
Required attributes: 'action,connection,localfile,remotefile'. Optional attributes: 'asciiextensionlist,buffersize,fingerprint,passive,password,port,proxybypass,proxyserver,result,retrycount,secure,server,stoponerror,timeout,transfermode,username'.
Expected Result:
File should upload to the FTP successfully
Any Workarounds:
NONE
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4032599
External Customer Info:
External Company:
External Customer Name: Benson
External Customer Email:
External Test Config: My Hardware and Environment details:
Attempted on CF 11 upgrade 5 on a Mac and Windows Server 2008
Attachments:
Comments: