All Questions
7,774 questions
1
vote
0
answers
251
views
Git on windows creates broken/corrupt blobs of binary files on one particular PC
A couple of days ago, I suddenly got file corruption errors trying to push to a git repository. After longs days of debugging I found out that my git installation seems to sometimes produce broken ...
1
vote
1
answer
53
views
Active Storage image-entity: Where does it come from?
Where does :image come from?
class Car < ApplicationRecord
belongs_to :vendor
has_one_attached :image
end
It works. I can use :image in my controller and within the views:
params.expect(car: [...
1
vote
1
answer
131
views
Angular 18 how to display injected file with ngx-extended-pdf-viewer
I'm currently stuck with the pdf view using ngx-extended-pdf-viewer (version 24.2.4). I'm currently using material dialogs and passing the file to it, from one dialog to another.
<div class="...
0
votes
1
answer
61
views
Text clipped at 37kb when trying to make blob or arraybuffer and upload to sharepoint
I am trying to upload json data as a text file to SharePoint with javascripts stingify method using either blob or array buffer, but I keep getting only the first 37kb of the content saved. This is ...
1
vote
1
answer
133
views
How to upload blob image to mysql database and display it as an object url?
Using Node Js Multer I am uploading an image to the database as a blob. This happens from javascript ajax xmlhttp request to express js endpoint.
index.html uploading image request
input....
0
votes
0
answers
44
views
How can I distribute work more evenly across Azure Function servers using the Consumption Plan?
I'm using an Azure Function on the Consumption Plan. I'm also using a BLOB trigger and have added several thousand blobs to a container. Each operation of the Azure Function typically takes between 2 ...
2
votes
1
answer
342
views
"Out of Memory" error when extracting many BLOB files from SQL Server database with Delphi program
I'm trying to extract a large number of files stored in a BLOB column in a SQL Server database. The files are being saved correctly to a directory, but after processing approximately 30,000 files, the ...
0
votes
1
answer
227
views
Restoring deleted blobs from a azure storage account container
I have a storage account with a blob container. I have created a lifecycle management to filter blobs created 1100 days ago and delete them. For some reason the execution of this task didn´t work as ...
1
vote
0
answers
63
views
Howto uncompress Oracle BLOB in R
I am under R (the statistic tool, rev 4.2.3 under Rstudio on Windows 10, with Rtools 4.2) and I access an Oracle Database with RODBC (I haven't Roracle, but if it could solves my problem, I can ...
0
votes
1
answer
45
views
nginx with createObjectURL and binary png data appears to serve the file as text with utf8 encoding
We have some swagger-ui.js code generating a download link to a png image delivered from a REST API call. The download link is generated by the swagger-ui.js code:
var binaryData = [];
binaryData.push(...
0
votes
3
answers
55
views
Is there an JS method of storing data for more expansive than 5MB (LocalStorage)? [closed]
Is there is an JavaScript method (library, framework) for storing data (.xml, local data, etc..) for more expansive THAN the LocalStorage uses. (5MB)
I thought that LocalStorage could possibly expand ...
0
votes
1
answer
235
views
DefaultAzureCredential() causing SyntaxError: Identifier '__dirname' has already been declared
I am trying to connect to my meteor application with Azure to use blob storage following this tutorial: https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-javascript-get-started?tabs=...
0
votes
1
answer
75
views
Upload an image into a column with Blob data type on Oracle SQL
I have this table (Image_uploads) with the following columns and data types:
NAME -VARCHAR2(256 BYTE),
MIME_TYPE -VARCHAR2(128 BYTE),
DOC_SIZE -NUMBER,
DAD_CHARSET -VARCHAR2(128 BYTE),
LAST_UPDATED -...
1
vote
2
answers
54
views
Pass BLOB to stored procedure from SQL*Plus
How to call a stored procedure from SQL*Plus with blob input parameters?
Below a sample of the SP to be called:
procedure p_dummy_proc (sessionId varchar2, accountId integer, lobData blob, oId out ...
0
votes
0
answers
81
views
Google Export method not getting the file downloaded in the requested mimetype format for Google Workspace documents
I'm using the Google Drive API (Google.Apis.Drive.v3) to export Google Workspace files (Docs, Sheets, etc.) into specific MIME types using the Files.Export method. However, the downloaded file does ...
0
votes
0
answers
135
views
How to Resize a GIF While Preserving Animation in React (Client-Side Only)
I am working on a React project where I need to crop, rotate, zoom, and resize images, including animated GIFs.
I am using react-easy-crop for cropping and the Canvas API to generate the final output. ...
0
votes
1
answer
62
views
Is there a way to create Snowpipe or Ingestion in Snowflake for a public Azure Blob dataset?
I have done Snowpipe before for a azure Blob before, but since it was private I had access to tenant_id and all authentications. Maybe the question seems backward but when a storage is public, Can we ...
0
votes
0
answers
47
views
Oracle Error Converting Base64 Clob to Blob [duplicate]
I am trying to attach a pdf file to an invoice. The pdf comes to me as a base64 value that I store in a table as a clob. I then try to convert the base64 clob to a blob.
DECLARE
l_base64_clob CLOB;
...
1
vote
1
answer
490
views
Azure Blob Storage - This request is not authorized to perform this operation
I've been building an ASP.NET Core Web API that calls Azure Blob Storage to upload and download a file.
Code is very simple so far:
BlobContainerClient containerClient = await _blobServiceClient....
0
votes
1
answer
120
views
How to get long type value stored in a blob type column using DBMS_LOB in Oracle
I have a BLOB column in one of the tables and it basically stores the following format data in BLOB format
[
{
INVOICE_ID => 503457986,
},
{ }
]
Now I'm trying to fetch ...
0
votes
0
answers
30
views
pdf lose image when using window.URL and view via PDFJS
I read a pdf file from computer then convert to base64, then using window.URL to create a url and view it via PDFJS, but some images on the pdf file were lost, this is my code:
const fileReader = new ...
0
votes
0
answers
53
views
unexpected end of archive error when trying to open a Zip file downloaded via javascript
I'm trying to download a ZIP file from a backend API that returns the ZIP binary as a string.
If I do this:
curl --location 'https://backend-endpoint.com/get-file' >> test.zip it creates a ZIP ...
0
votes
2
answers
842
views
Oracle APEX 24.2- Using an INSERT Process to place images into a BLOB column(s) and NOT A FORM
I am trying to upload an image into APEX (Version 24.2) and store it in a BLOB column (Product_Image) in the PRODUCTS table.
I also have the MIME type, filename, and last updated columns properly set ...
0
votes
1
answer
149
views
Efficient and Secure Handling of Large ZIP Streams in Azure Blob Storage
I need to upload a stream from the browser's network. The current approach involves uploading the stream for processing, and only if it's valid, it proceeds with the regular flow. Since the stream can ...
0
votes
1
answer
26
views
image filename doesn't show the name of the image but it only shows numbers in rails7
When I write this code to show image filename for the alt :
<img class="card-img-top" alt="<%= store.main_image.filename %>" draggable="false" src="<%= ...
1
vote
2
answers
54
views
How to handle binary file or XLSX as a response?
How to handle binary file or xlsx as a response from angular ionic. I have done this but I am getting error on when I return the get method.
HTML file:
<ion-button color="primary" expand=...
0
votes
0
answers
74
views
Pause the blob audio in Safari
I am trying to load/download the audio file from the URL, create an HTML audio tag, and play it. Everything works fine. The audio will download without any issues from the URL and then play ...
0
votes
0
answers
99
views
How to migrate BLOB data to a FILESTREAM column in SQL Server with minimal impact on performance?
I am working on optimizing a table that currently stores BLOB data in a VARBINARY(MAX) column.
The current table structure looks like this:
CREATE TABLE bigData
(
Id INT NOT NULL PRIMARY KEY,
...
-1
votes
1
answer
105
views
Set Azure Metadata on Block Blob via REST API in IICS CAI
I am trying to set the metadata for the blob through Rest API in Informatica application integration i have uploaded on the container. Could you please help me with the details I need to pass in the ...
2
votes
1
answer
313
views
How to remove secrets from a blob?
I git push a repo and having this error:
remote: - GITHUB PUSH PROTECTION
remote: —————————————————————————————————————————
remote: Resolve the following violations before pushing again
remote:
...
1
vote
0
answers
100
views
Blob download saves as .bin with a random filename instead of .webm
I'm developing a Tampermonkey userscript to capture audio from a webpage using the MediaRecorder API. The script successfully records audio and creates a Blob with the MIME type audio/webm;codecs=opus....
0
votes
1
answer
88
views
Trying to Email Multiple PDF Blobs in Sheets Javascript
What I want: a Google Sheet that generates pdfs, saves the PDFs to your GDrive, and then sends you a single email with all of the pdfs attached.
What I've been able to do:
Generate PDFs
Save the PDFs ...
0
votes
1
answer
72
views
Searching for a specific value, within a specific field, within many csv files, within many buckets, within 3 projects in GCS using Python
For example, let's say I want to search through my 3 projects > many buckets > many csv files > field that includes 'name' > for the value 'Bob'. So far I have the following code:
import ...
0
votes
0
answers
108
views
Firedac not replacing images in firebird database
I am trying to replace images in a firebird database using Firedac and delphi 11. All fields do get updated but the image fields IMAGE and IMGTHUMB do not change.
When adding new records the similar ...
1
vote
0
answers
23
views
How to fix this error "Incorrect data types or column count mismatch when inserting rows" in GridDB
Cause: Incorrect data types or column count mismatch when inserting rows.
Solution:
Verify that the row data matches the container schema.
For Blob type, ensure the binary data is passed as a ...
0
votes
1
answer
192
views
Convert a ytdl-core stream into a blob in Nodejs express
I'm working on a YouTube playlist audio downloader and have run into a snag (see below). I have no problem downloading the audio for one video; I simply pipe the stream to the response:
ytdl(info....
0
votes
0
answers
64
views
Imagick (PHP) is returning following error “no decode delegate for this image format `' @ error/blob.c/BlobToImage/361”
I know there are similar question on Stackoverflow that's already answered.
But It did not fix my bugs, so Please Let me ask here.
I'm trying to make a proxy in PHP.
My code is worked in my local ...
0
votes
0
answers
86
views
Inserting a file into a BLOB column (Oracle) from a ksh script using sqlplus for passing parameters (file)
I would like to insert my file (csv) into a BLOB column (Oracle), I use a Korn Shell script to call an insert sql script via a SQLPLUS statement. my problem is that I don't know how to pass my file as ...
1
vote
1
answer
84
views
How to require Office 365 login to access private PDFs in Azure Blob Storage
I have PDF files in an Azure Blob Storage container that's set to private, so no public access is allowed. I want to ensure that users can only access these PDFs after logging in with their Office 365 ...
1
vote
1
answer
138
views
How to use Django BinaryField to store PNG images in postgres?
I need to store PNG files as blob/binary in the database and then be able to retrieve and show them.
Here's my model that has a binary field to store the image:
class ImageFile(models.Model):
file ...
2
votes
1
answer
99
views
Java blobleaseclient acquireLease does not return lease to available after due time
Using the Azure blob storage SDK I am using the BlobLeaseClient acquirelease method and passing in 15 seconds. However if I kill the process after acquiring the lease the lease remains even after the ...
0
votes
1
answer
95
views
how to create a downloadable link which loads the file from a backend server only when clicked in Angular
I have a situation where I have a list of items each represent a file. All these files can be fetched from a backend as blobs. I want to have links in the frontend when user clicks should be able to ...
0
votes
1
answer
225
views
Is it possible to match a blob source and a m3u8 url?
I use a chrome browser extension to parse a webpage that stream a video from a .m3u8 URL.
Is it possible to use the blob URL from the video element to find the source .m3u8 URL?
Here is an example of ...
2
votes
2
answers
331
views
Blob could not be loaded from a localhost as src blob:
I'm having some trouble loading an audio file in WAV format returned from the backend as a Blob in Angular.
I have in my services the following:
getFileBlob(uniformName: string, path: string) {
...
0
votes
1
answer
76
views
Convert blob to bytes SQLite3 Python
Have a requirement of storing/retrieving bytes as a blob in SQLite3;
The column definition in as follows:"bytes_as_blob " BLOB,
Byte data is stored in the table using the following construct ...
0
votes
0
answers
28
views
compare two blob colomn values to find percentage of similarity
how to compare two blob colomns on the same table ?
For example: PIC1 contains a picture of a bridge taken from 5 meter distance, whereas PIC2 contains a picture of the same bridge taken from 10 meter ...
0
votes
2
answers
365
views
How to write and read different JSON objects as BLOB in file using angular
In my Angular program, have a class called myObj and an array called myArrayObj, that contains many instances of myObj.
I am currently storing it into Blob and write into file, as shown below.
...
0
votes
2
answers
264
views
Java how to create an BlobServiceClient with a sas token for a specific folder?
I have a SAS token for a specific folder, which in itself of course has more folders and blobs. I am looking to create a Service or Container client to allow me to iterate on the folders/blobs in this ...
1
vote
1
answer
81
views
Javascript - Download xls file served from backend in blob format
I have a backend service writted in Java that will power the vue frontend app. I need to start the download of a file when it will be provided from the backend. At the moment I've noticed that the ...
0
votes
2
answers
65
views
How to convert an image url to File object from Google oAuth response?
In my React project I have a google oAuth API which I'm retrieving the google image url from the response:
const userInfoResponse = await axios.get('https://www.googleapis.com/oauth2/v3/userinfo', {
...