35 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
90
views
Downloading a large file in spring MVC through Web client
I'm trying to download a large file with with Spring web client without loading an entire file to the memory. I have such service method:
@Override
public StreamingResponseBody download() {
Flux&...
-1
votes
1
answer
722
views
How to create an octet-stream endpoint for large files in Spring MVC?
Please assist me with finding the correct way to use Spring MVC to implement an endpoint that downloads large files.
I am aware of the approach involving explicit writing into the HttpServletResponse ...
2
votes
1
answer
324
views
Extract level data from unknown octet-stream format
Overview:
I wanted to attempt to extract the level data from Happy Wheels, their APIs are all open to pull data. I can pull the data shown in the level lists as well as each individual level ID (it ...
0
votes
0
answers
198
views
Get octet-stream with ExecuteAsync from RestSharp without headers
I use RestSharp in version 111.2.0.
All our requests are build in this way:
internal async Task<byte[]> GetFileAsync(int documentId)
{
RestRequest request = new RestRequest($"{_apiPath}/...
0
votes
1
answer
163
views
Sending Blob Data to Event Hub After JSON Parse
I am using an Azure Logic App to get data from an Azure Blob, convert it to JSON, index the JSON to take just the chunk I need, and then send it to EventHub. The data is of the following schema:
{
...
0
votes
0
answers
760
views
.NET 8 unable to send response with "application/octet-stream" header
The situation is. This endpoint needs to return the bytes of the file saved on the DB.
[HttpGet("/GetTemplate")]
[Produces("application/octet-stream")]
public HttpResponseMessage ...
0
votes
0
answers
416
views
Unable to save application/octet-stream (image file) to file using Java
I am using a "User-Modified Java Class" step in Pentaho Data Integration (PDI) to take an octet-stream returned via Rest API and save it to disk. I have a working example that assumes the ...
0
votes
1
answer
361
views
How to store Azure Data Factory copy activity output as json instead of octet-stream
I'm currently working with Azure Data Factory (ADF) and using it to store a file in a datalake for a Python script (in the form of an Azure Function) to use. However, the Python script isn't properly ...
1
vote
1
answer
402
views
How can we convert a octet format file to its original mime type file?
While attempting to download a PDF/Word/RTF file from a website, I observed that the download button, upon inspection, wasn't a direct link. Upon clicking the button, the file started downloading, and ...
1
vote
0
answers
86
views
HTTP file upload in the Beego (or other way with golang)
func (this *MainController) Post() {
file, header, err := this.GetFile("file")
if err != nil {
panic(fmt.Sprintf("failed to get uploaded file: %v", err))
}
...
0
votes
1
answer
795
views
SvelteKit form actions, how to append list of objects containing files?
I want to send a list of objects to my sveltekit server. Afaik, Form Actions are the way to go.
I have a list of object that look something like this
export interface ExampleObjectWithFile {
id: ...
0
votes
1
answer
467
views
Google Apps Script: The conversion of the format from application/octet-stream to application/vnd.ms-excel is not supported
I have a code that downloads email attachments to Google Drive. The attachments are in XLS format. However, they are recognized as Word documents on GDrive. How can I fix this?
function ...
0
votes
1
answer
505
views
How can I convert an aac encoded octet-stream into a wav in swift
I'm attempting to convert a playable aac encoded octet-stream (recording.aac) that I recorded from an aac encoded livestream (https://archives.kdvs.org/stream) into a wav file. I'm not sure where to ...
1
vote
1
answer
861
views
Unable to get custom headers with Axios in reactJs
I have an backend application running on fastAPI which I already allow CORS:
@app.get("/getfile/{obj_name}")
async def get_single(obj_name: str):
res = s3.get_object(Bucket=BUCKET_NAME, ...
0
votes
1
answer
40
views
ExpressJS octet-stream sha checksum missmatch with openssl-dgt/sha256sum
I have the following request handler:
//app.ts:
app.use(express.json());
app.use(express.raw());
app.use(express.urlencoded({ extended: false }));
apr.use(routeHandler);
// ...