- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2021 03:29 AM
Hi Team,
I am just reading the file from source location and writing the zip file in sldb, but it is creating the zip file with source structure when i unzip.
source file path is : /home/data/interface/inbound/filename.txt
when I unzip it, it has folder structure. here expectation is the zip file should have only file not file location structure
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2021 08:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2021 04:43 AM
Thanks for the great support, It is working fine(removed folder structure), but i noticed one thing is when unzipped file the file is created like textbook…bin(inside the zip file).
expected file name is textbook.
it was there when created zip file with folder structure(source file path) also
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2021 04:46 AM
Can you provide the output of the file reader ? Or just show me the content-location
header.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2021 04:57 AM
Please find the here,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2021 05:07 AM
Sorry, but can you provide the x-amz-meta-mimetype
header also ? If this is a .txt file try opening the file with Notepad to see if it opens and displays the data is it should.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2021 05:47 AM
File reader doesn’t show any x-amz-meta-mimetype when i validated.
I shared all the content showing by file reader in the screen shot earlier post
