Questions tagged [blob]
A BLOB is a collection of binary data stored as a single entity in a database management system.
7,719
questions
0
votes
0
answers
21
views
Varbinary (MAX) to PDF with PHP
I am a novice and looking for a little guidance. Pulling PDF file stored as a BLOB (Varbinary(MAX)) without compression or encryption from a SQL server and trying to recreate the PDF file with the ...
0
votes
0
answers
12
views
What is the meaning of frame-src 'self' blob:?
I want to restrict my site to blob: only from its own origin.
I thought frame-src 'self' blob: would do that but checking on checked on CSP evaluator the results are:
It shows 'self' & blob.
...
0
votes
0
answers
20
views
How mock Blob using jest and jest-fetch-mock
I am using React, and RTK Query and trying to write tests, checking correct downloading files, using jest and jest-fetch-mock.
test('should download correct file', async () => {
const text = '<...
0
votes
1
answer
25
views
What is the meaning of 'self' blob:?
I want to know what the difference is between blob: vs 'self' blob:. Will 'self' blob: pass all blob or just source from self?
Use case: Export functionality for my application is failing and adding '...
-3
votes
0
answers
48
views
How do I download CSV files with URLs starting with "blob"? [closed]
I am trying to automate the download of the csv files located on this page https://indexdata.six-group.com/swiss_reference_rates/other_terms.html (column: Historical Values). When looking at the url ...
-1
votes
0
answers
29
views
How to make blob and object url in laravel?
I have a laravel application and i want to use blob url to show videos instead of the urls that are saved in the database
I mean i want to get the files from the url and convert them into blob url but ...
0
votes
2
answers
47
views
ORA-22921: length of input buffer is smaller than amount requested
While I was working with a table containing a BLOB column:
SELECT id FROM table WHERE blob_column LIKE '%something%';
...I got the following error:
ORA-22835: Buffer too small for CLOB to CHAR or ...
0
votes
0
answers
22
views
Website from zip file renderer - problems with nested dependencies from blob
I have been working on a solution to render a webpage (with dependencies etc) from a zip file.
I have gotten sofar that it renders most things relatively well,
But inline scripts that fetch yet other ...
-1
votes
1
answer
31
views
Does SQLite3 compress data
Trying to hack a .db save of a game, here is where one piece of data that should read:
2f 47 61 6d 65 2f 4d 61 70 73 2f 4c 65 76 65 6c 30 31
2f 4c 65 76 65 6c 30 31
5f 4d 61 69 6e 2e
4c 65 76 65 6c 30 ...
0
votes
0
answers
19
views
Construct a Blob without MIME Type?
I use a nodejs public API that allow me to send some attachments in a chat. This public API ask me a Buffer and construct a Blob from my provided buffer, just like that :
body.append('attachments', ...
0
votes
1
answer
30
views
How to copy blobs from azure to aws using python?
For example im copying this specific file "container/dir/test1.txt" in vs code, but im unable to find a solution which does not require to download the file locally or in chunks... I tried ...
0
votes
0
answers
11
views
Webm file downloaded from user's microphone does not have duration metadata [duplicate]
I am trying to record the user's microphone, and then send it to an API.
I did the code for the recording, and it works well, but when I send it to the API, it says that it does not have a duration.
...
0
votes
1
answer
54
views
Not able to show a pdf / image from binary data in MSSQL using PDO LOB
I go MSSQL database which contains attachments - most of them are PDFs. I want to create simple website, that will display attachment after clicking a button. I got main website prepared (there are ...
0
votes
1
answer
61
views
Download and view images from Cloudflare R2
I am working on Sveltekit app using Typescript and want to display the images from R2, using workers R2 API, in the custom image component.
The following is the .svelte code
<script lang="ts&...
0
votes
1
answer
53
views
How to Download a CSV File from a Blob URL Using Selenium in Python?
I'm trying to automate the download of a CSV file from a Blob URL on a dynamic website using Selenium with Python. The CSV download is triggered by clicking a button, but the button click generates a ...
0
votes
0
answers
68
views
Export DBISAM BLOB and TEXT columns
I was recently confronted with the fact that the Borland Database System Utility does not export the TEXT and BLOB columns to a .CSV file.
I searched online, and did not find anything very concrete ...
0
votes
0
answers
21
views
python blob extractor from a sql query not working properly
im making a blob extractor to get some images from a db with a query for the following rows:
rows selected from query
so im using the following code to extract said images:
import psycopg2
import ...
0
votes
0
answers
40
views
Save openpyxl workbook to GCP cloud storage
I am currently modifiying an Excel/.xlsx file in Python through openpyxl library.
The Excel file comes from a Google cloud storage bucket.
I can read the file this way :
blob_file = bucket.blob(f"...
0
votes
0
answers
35
views
Blob image in header breaks the page
I want to display in the header of the document, an image from the database. The image depends on the company being selected.
I tried every solution I found here, nothing works.
Two of them work ...
0
votes
2
answers
43
views
Update a BLOB column with data of length 80,000 chars in Oracle 19c
We have a requirement to update a BLOB column (which stores JSON data and has a JSON constraint) enabled. The issue is with the length of the data that the BLOB data needs to be updated with. It is ...
1
vote
0
answers
59
views
Why does the iframe content not display on other screen dimensions?
What I'm trying to do is : extract pages one by one from a pdf Document and create an url using blob to put it in the src parameter of my Iframe. It works perfectly until I use Chrome DevTool to see ...
0
votes
0
answers
11
views
Exception: The mediaData parameter only supports Blob types for upload while adding properties
I am trying to use an App script to add properties to the files which lie in a shared Drive.
By using Following Code:
addCustomProperties(fileID, Customer_name, Process_Type, Priority);
function ...
-1
votes
1
answer
42
views
Trying to deploy a console app in vm that runs as background service
i am trying to deploy a console app that runs as background service the console app takes screen shots of users current screen and save it in blob container the code is fine runs perfectly on local ...
0
votes
0
answers
30
views
Blazor JSRUNTIME iframe not working with blob
I have this in an private async Task method
await JsRuntime.InvokeVoidAsync("Test");
and is working with this :
async function Test() {
return await new Promise((resolve) => {
...
0
votes
1
answer
110
views
Azure Blob Failed to create Container container
I am trying to write a file using ADF, below are the details.
Source - ADLS Gen 2
Linked Service of Source is also pointing to ADLS Gen 2
Sink - ADLS Gen 2
Linked Service of Sink is Azure Blob storage
...
0
votes
0
answers
40
views
I need to write an sqr that uses data from a file that is attached to a Peoplesoft page
I have tried several things that I found online but not really sure what to do with them:
SELECT utl_raw.cast_to_varchar2(dbms_lob.substr(file_data,1000,1))
FROM psfile_attdet
WHERE ...
1
vote
0
answers
32
views
Retrieving Latest BLOB (Excel File) for Power BI in Oracle
I hope you all are doing well. I have a question regarding working with BLOB data in Oracle and Power BI.
I have several Excel files stored as BLOBs within a table named GENERATED_FILES in my Oracle ...
0
votes
0
answers
35
views
pgloader loading from CSV with blob data
I am trying to load a csv file utf-8 encoded into postgres using pgloader which contains blob data basically it is a AES key following is the load file
LOAD CSV
FROM 'report_info.csv'
INTO ...
0
votes
0
answers
67
views
Error fetching blob in huggingface endpoints API
I'm new to using the huggingface.js api, my project was previously built with the openAI GPT API so I assume there are a lot of changes that I need to make in order to work with huggingface.js.
This ...
0
votes
0
answers
17
views
CannotVerifyCopySource error when using BlobBlobClient.StartCopyFromUri method
I was using the StartCopyFromUri method in BlobBlobClient to copy an image from an https source into blob storage and I keep getting this error.
Azure.RequestFailedException: 'Method Not Allowed
...
0
votes
0
answers
59
views
How do I seed a blob column (it's an image) in Prisma?
I'm working on an API project using Express with TypeScript and I'm trying to create a seeder for my database. One of the columns in the record is a blob meant to hold data for an image. I'm not ...
0
votes
0
answers
24
views
How can i convert a blob image into a byte array?
I have a blob (image) like this: blob:http://localhost:3000/3c2fca6b-74fa-44d0-b6f0-d4ea451005ec
How can i turn this into a byte array?
I need to save this to my database
I tried doing this:
async ...
2
votes
1
answer
72
views
How to efficiently store varying size byte arrays in an Oracle database?
I have an Oracle database table where I need to store byte array in one of the columns. The size distribution of these byte arrays is as follows:
80% are under 1000 bytes
15% are between 1000 and ...
0
votes
1
answer
65
views
batchSize is not working in NLog.config file for NLog.Extensions.AzureStorage
I am using latest version of NLog.Extensions.AzureStorage
And in documentation the batchSize is mentioned
But when I am providing the batchSize lets say as 1000 it is taking same number of ...
0
votes
1
answer
49
views
Problem with getting audio duration from blob in Chrome, Safari
I try to record audio and get the duration of the audio from blub using loadedmetadata event in Promise. It works well in Firefox. But Chrome returns duration as Infinity. iPhone cannot even load ...
0
votes
0
answers
57
views
Putting Image file into SQLite Blob field with VB.Net
I have been attempting to put an image file into an SQLite blob field.
The code runs as I would expect but nothing is added to the table. If I try and run the same code again it errors with the ...
0
votes
0
answers
35
views
Why audio use blob url can not play in IOS17
i tranform audio online resource to blob Url , and set audio src, however audio cannot play in IOS 17,
ios < 17 ,can play audio.
i try to tranform blob to base64 ,but base64 volume is bigger, when ...
0
votes
0
answers
35
views
How to download a pdf with specific file name from a blob url
const b64toBlob = (b64Data, extension) => {
const byteCharacters = atob(b64Data);
const len = byteCharacters.length;
const buffer = new Uint8Array(len);
for (let i = 0; i < len; i += ...
2
votes
2
answers
89
views
upload audio blob to server and save as file
I have 3 buttons to rec, stop and play audio.
Using MediaRecorder is easy to get an audio blob running.
Problems arise when I try to upload the blob as a file to the server.
I have an audio element ...
1
vote
0
answers
32
views
How to save blob file into a data base?
i have a python code that i want to use file dialog to grab an image file from the PC files and save to thee MySQL database
from tkinter import filedialog
from tkinter import *
from tkinter import ...
1
vote
1
answer
72
views
Oracle SQL: most efficient way (in terms of network roundtrips) to do random little and scattered writes to a LOB column
I have a table with a BLOB column. Each BLOB can be up to 1GB in size. Updates of existing persistent BLOBs usually consist of thousands (~10k) of write microchunks at random offsets of around 100 ...
0
votes
1
answer
50
views
Oracle SQL and BLOBs: why do I need to lock the row of a BLOB am I modifying if I'm in a transaction anyway?
This question could reflect some misunderstanding from my part, but there's something that is puzzling me for days.
According to the Oracle docs (19c), it explicitly recommends to lock a row of a ...
0
votes
0
answers
44
views
Chrome Extension (v3) - Download a Uint8array file (.ts file) [duplicate]
I have a Uint8array (that I've created by concatenating arrayBuffers from fetching several .ts files); I am attempting to send the U8A as a message to a content script in a tab and download it by ...
0
votes
2
answers
66
views
Store very large files in mysql db
My implementation is laravel, but this could generally apply to php/mysql.
I have a large file, generally about 500MB that I want to store in the database. If it helps, the file itself is a zip of ...
1
vote
1
answer
48
views
In flutter and dart, how to query a blob column?
the sqlite database table is created as:
CREATE TABLE Books (id INTEGER PRIMARY KEY AUTOINCREMENT, path TEXT, hash blob);
CREATE UNIQUE INDEX path_uni ON Books(path);
CREATE ...
0
votes
0
answers
22
views
Duplicate Recording Requests in Browser Extension for Mic/Screen sourced Audio Transcription
I have a website where a function is the user can transcribe audio from their mic and pc audio at the same time, to run other things (core function). Since he browser won't let computer audio to be ...
0
votes
0
answers
51
views
How to add metadata (exif) to the generated blob from canvas and download it using fileSaver
I have a project in Angular and I generate a map image in canvas using OpenLayers, then I download it locally with the extension .png/.tiff using fileSaver. How can I add metadata to the downloaded ...
0
votes
1
answer
33
views
Pdf to Blob for Firebase Storage
I am trying to convert a PDF to a Blob so I can upload it to Firebase Storage. Although I can see the uploaded PDF in the Firebase console, I cannot open it. I get the error: "Failed to load PDF ...
-1
votes
1
answer
155
views
How to correctly download pdf and docx file in React JS?
I am trying to download docx or pdf file in React JS(depending on server response) when I get the response from the server. Backend is implemented in Python/Flask.
When I try to download the file, it ...
0
votes
0
answers
30
views
Issues with Git repository: broken links, dangling objects, and parsing errors
I'm having issues with my Git repository, including broken links, dangling objects, and parsing errors when running git fsck --full.
Here are the details:
organic@web:~/dev/docker-wordpress-caddy/m208$...