Forum Discussion
@subhash.a.chandra I believe your question is you wish to browse the /tmp/API_LOG/
directory which contains the log files you are writing via the Script Snap, is that correct?
The Binary Snap Pack has a Directory Browser and File Reader Snaps that can work with the local filesystem e.g. file:///tmp/API_LOG/
- is that something you have tried?
Thanks robin for your suggetion.
I have tried that I was able to access files.
But still I wanted to access from script if something you have that will be good.
@vaidyarm if you want to post a file, you have to save that file (most relevant option is sldb). Then use below setting and delete that file after processing.
Whatever option you might looking for , that can be post as http entity.
we are trying to post the zip file(staged in sldb) using rest post , but not successful. The same zip file is posting through postman it is successful.
Can you guide us what are right configuration in rest post snap to post zip file as it is(invoking webservice-> stores zip file in sql server db blob column)
The zip file is created in sldb using the flow file reader->compression->filewriterThe below data adding to the zip file in target , expected one is not to add below information
-NpPpHQYDtTHWk9esbHreg29WnKx_bCYn
Content-Disposition: form-data; name=“file”; filename=“data.zip”
Content-Type: application/octet-stream; charset=UTF-8
Content-Transfer-Encoding: binary
Related Content
- 7 months ago
- 3 months ago