aanchalrajpal
8 years agoNew Contributor
Zipfilewriter - file name
Does ‘content- disposition’ function works with zipfile writer.
I’m writing below exp concatenating with SFTP path but this is giving me error.
$[‘content-disposition’].match(“filename="(.*)"”)[1]
error:
Failure: $[‘content-disposition’] is undefined, Reason: ‘content-disposition’ was not found in the containing object., Resolution: Please check expression syntax and data types.
This function works well in file writer but not in zip file writer.If not can anyone suggest workaround to get file name from source and write it in .zip extension.