var currFile = files[key]       var currName = cu...
# suitescript
g
var currFile = files[key]       var currName = currFile['name']       log.debug('Name of file on SFTP: ' + currName)       var downloadedFile = connection.download({         directory: '/outgoing/orders/thehomedepot',         fileName: currName         // filename: '*.neworders'       }) the log shows me that I have a name, but suitescript giving me an error that the name is not set