Sidebar

"Unable to get file name from path" error using writeSFTPFile. What does this mean?

0 votes
499 views
asked Oct 19, 2018 by brandon-w-8204 (33,270 points)
Getting "com.qvera.qie.exception.NoResultsException: Unable to get file name from path" error using writeSFTPFile. What does this mean?

1 Answer

0 votes
This error occurs when you do not pass a file name to the path parameter. The path parameter is the 3rd parameter.

qie.writeSFTPFile('host', port, 'path', binary, passive, 'ftpParameters', 'userName', 'password', data);

Example if you want to put in the root directory you just pass the filename "test.txt".
answered Oct 19, 2018 by brandon-w-8204 (33,270 points)
...