Sidebar

Need an Example to utilise the FTPParameters using the function.

0 votes
188 views
asked Oct 13, 2022 by satya-kiran-k-9137 (200 points)
As we are passing a string of details. So could you please provide a format (privateKeyFile, privateKeyPassphrase, fileExist)

1 Answer

0 votes

Each FTP parameter is just in a string separated by a \n. Example

'privateKeyFile=c:\\somepath\\somekey.ppk\nprivateKeyPassphrase=secret\nfileExist=true'

Example in writeSFTPFile Function call:

qie.writeSFTPFile('host', port, 'path', binary, passive, 'privateKeyFile=c:\\somepath\\somekey.ppk\nprivateKeyPassphrase=secret\nfileExist=true', 'userName', 'password', data);

answered Oct 13, 2022 by brandon-w-8204 (33,270 points)
...