Questions tagged [blob]

1

votes
2

answer
523

Views

Azure CloudBlobStream serialization (with Json.NET)

I have a little problem. My environment is a console app in .NET Core 2.1. Look at the this code: private static void Main(string[] args) { try { Console.WriteLine($'Test starts: {DateTime.Now.ToString('o')}'); string connectionString = '[My connection string]'; string containerName = 'mycontainer';...
Attilio Gelosa
0

votes
0

answer
5

Views

How to convert from BLOB to PDF using Buffer in node.js

I am writing a HTML based user gui that will be able to upload a Quotation to blob in my sql and when you retrieve it via a get function, it must do a database lookup and send the pdf. In the console log I can see that it is projecting the buffer, but I cannot display it on the html page as a pdf,...
wimpie smith
1

votes
1

answer
70

Views

How to implement azure async functions with output parameters

I implemented Azure function. I have next case: When something uploaded to blob (Input Blob is trigger) Process logic Save something to output blob (Output as return value) Save something else to dynamo db collection (Output parameter) Save something else to another dynamo db collection (Output para...
Raskolnikov
1

votes
1

answer
69

Views

Azure Blob Storage Pre-Signed Url Features

As my experiences, AWS S3 has a feature called pre-signed. Which allows me to issue a url with specific expiry time to access. I cannot find any details about that on Azure official website. So, does anyone know if Azure Blob Storage can support pre-signed url features?
Code Man
1

votes
4

answer
7.8k

Views

Storing values in TBlobField using sql

I want to store images into a database using SQL commands, I know other ways using TBlobField.LoadFromFile etc, but we make our own sql commands to update the database that's why I need to do this. How should I go about doing this?
Sandeep Chandra
1

votes
3

answer
2.8k

Views

MySQL blob: how to get just a subset of the stored data

I would like to use MYSQL as a storage system for a huge number of files. I would like to read/write just a portion of the data stored in a column (data is stored as bytes) so I don't have to load the entire file into the application (because it can be > than a GB). So, in brief, I would like to hav...
Umar Jamil
1

votes
1

answer
64

Views

controlling which blobs are indexed azure search

I was wondering if it was possible to index specific blobs, based on their name. For example how can I index 'only' blobs named transactions.json? Currently when I put the extension .json as the value to indexFileNameExtension, the indexer, indexes all .json file, and this makes my index have docume...
Puzzle
1

votes
0

answer
32

Views

How I can create large file with cordova?

For example, I want create a file with 10mb size, so for this i used cordova-plugin-file and Blob, but it only work with small size because Blob have own limitations. So, how I can create a file with 1gb, 2gb, 3gb, ...? My example code(this work's with small size[ { directory.getFile(tmpFile.filenam...
Olaf Erlandsen
1

votes
0

answer
489

Views

Blob Url for Audio Element Source

I need to use a blob url for the audio element source, and it is not working on Edge or Safari; however it works in Chrome and Firefox. So basically something like this: is not working on Safari or Edge. Any workarounds? You can also check this fiddle for example and try it different browsers: https...
VMh
1

votes
0

answer
105

Views

Error in sending file(blob) to SendBird react-native chat

I am trying to send an image or txt file in chat. I am using SendBird react-native sdk (https://docs.sendbird.com/javascript). FilePickerManager.showFilePicker(null, (response) => { console.log('Response = ', response); if (Platform.OS === 'android') { sb.enableStateChange(); } if (response.di...
Rahul Gupta
1

votes
0

answer
280

Views

CryptoJS AES Decryption Not Giving original ZIP/EPUB file in react native

I am using CryptoJS to encrypt my epub (or zip) file and decrypt it. I am using react native to create the app. But I don't know why the decrypted file is not the original epub file. The error while opening the decrypted epub file is: Error in opening zip file. And I am using react-native-fetch-blob...
Sagaryal
1

votes
0

answer
994

Views

CryptoJS AES Encryption in React Native

How do I encrypt and decrypt an epub/zip file in react native? I am using react-native-fetch-blob for file streaming. I have also posted this question previously in detail with no result. Here is the link if you need. Also the link of CryptoJS. I was reading the epub/zip file in base64 format which...
Sagaryal
1

votes
1

answer
1.3k

Views

Is it possible to send files and folders from FTP to Azure blob storage in timely basis?

i am trying to copy files from FTP to Azure Storage using logic apps, my app was fully functional when a file is getting added in the ftp location but not folders. i dont see any settings to change to copy the folders also.
sanjay
1

votes
0

answer
121

Views

PHP MySQL select BLOB from DB_1 and insert into DB_2

I am trying to migrate attachments (stored as longBLOB in DB. I know it's a bad idea but we are thinking about migrate files into a fileSystem later on) from DB_1 to DB_2. I wrote basic mysql query to select all the fields from DB_1 and trying to insert into DB_2. I can successfully echo all the dat...
Michael
1

votes
0

answer
266

Views

fetch-blob-react-native “Error: can't open file”

when I go for the code here .. http://www.rntools.co/pkg/react-native-fetch-blob I installed library successfully and download file but when I try top open that (PDF) file .. android emulator say (Can't open file) ..
Ahmed Fares
1

votes
1

answer
45

Views

How to store folder in PostgreSQL

We have a requirement where we need to store mail templates in databases. these mail templates use some images. So we are thinking about storing a folder with images and HTML file in the database. The folder will have 200-300 kb of storage and we need to store 15-20 templates. Which column type shou...
Python
1

votes
0

answer
65

Views

convert to blob file object from blobURL

I have an image upload component when I upload an image I get the image format as: blob:http://localhost:3000/243104af-2266-44f5-962e-8d98cdeade57 , now I want to convert it into a blob file object like: Blob(1921) {size: 1921, type: 'image/jpeg'} size : 1921 type : 'image/jpeg' __proto__ : Blob siz...
ashfaqrafi
1

votes
1

answer
213

Views

Create a text file on Azure using Scala

I have the following piece of scala code that will write text to a txt file sitting locally. // PrintWriter import java.io._ val pw = new PrintWriter(new File('resources/myfile.txt')) pw.write('Test text') pw.close How do i get this to work on azure blob storage? I have tried: val pw = new PrintWrit...
ConorS79
1

votes
1

answer
451

Views

Using data URI instead of blob in TinyMCE 4 image upload

Using TinyMCE 4, I am trying to do a basic local file picker such as the one used in their example. After running their example, I noticed that the generated image source is a blob opposed to a base64. So my question: is it possible to use base64 instead of a blob? I thought the first argument of th...
Mikey
1

votes
1

answer
116

Views

Fetching table data along with blob data using web api

I am trying to fetching records from oracle database table using web api from country mater table having columns 'CountryName', 'CountryCode' and 'country image' (blob). I am not able to include blob column along with other data: Current Code: // Data Access (Repository) layer for fetching data usi...
Tushar
1

votes
0

answer
43

Views

MediumBLOB will not support a 4KB File - Data too long for column

So yeah, I am adding billing documents as data and as XML in a Mediumblob column to then query it and export as PDF but the error says Data too long for column 'XML' at row 1 max_allowed_packet is currently 16777216 both in my.ini and in the database. Innodb log was raised from 8M to 16 even 32 Mand...
Glas
1

votes
0

answer
59

Views

send mail with attachment (or upload file, then send)

Okay, first, i searched for hours for a solution. I tried everything I found, but most of them use a completely different github-code. What i want to do: I'm using this code (https://gist.github.com/meziantou/edb7217fddfbb70e899e) to record audio on my website, which works perfectly fine. Now, it i...
Adam
1

votes
1

answer
943

Views

send blob from javascript to php and save it as a file on server

I imported some Geometry with Three.js and want to export a valid binary .stl file from it to our server. The blob created by the Filesaver (Filesaver.js) resulted in a valid file, which can be previewed when downloaded. So far... For saving it to the server I create a formData object and append fil...
MKBER
1

votes
0

answer
235

Views

Angular 2 Change bytea to download pdf

How to convert bytea to pdf downloadable file? currently i can get the bytea data. But i dint know how to convert to pdf type. I keep searching the internet but could not found it. Thanks in advance In component: downloadFile(instanceId){ this.filestorageService.loadByInstance(instanceId).subscribe(...
FlyingTurtle
1

votes
0

answer
217

Views

Unable to print PDF file in Edge browser

Trying to print PDF file retrieved from server. Approach 1 Retrieve PDF from server via AJAX Create Blob (URL.createObjectURL(pdfFile)) Set blob ObjectUrl as a source to iframe Print iframe (iframeContentWindow.document.execCommand('print', false, null)) Problem Not working in Edge since it has iss...
tchelidze
1

votes
0

answer
239

Views

Save javascript BLOB to database through java

I am currently doing a sound recording using JavaScript and I have a BLOB URL data as an output. Is there anywhere that I can send this data and save it in Database through java using Input Stream? Sample of BLOB URL DATA which was generated after recoding the audio: blob:http://127.0.0.1:8888/36...
Alex Wan Chee Hui
1

votes
0

answer
26

Views

SimpleBlobDetection keypoints not visually centered (opencv C++)

I am trying to use opencv's simple blob detector to determine the colors on the face of a Rubik's cube. I have been using this fantastic resource so far and it has proved to be very helpful and descriptive. After a fair bit of tweaking, I have been successful in making good filters for each color....
CynicalPassion63
1

votes
0

answer
278

Views

how to optimize image size by react-native-fetch-blob

I am working on react native share. Now i can share image with title and message. While i am sharing the image it's little slow. So I am thinking that i need to optimize the image file size. So how to do that in react native. I am using react-native-fetch-blob Here is my working code. How do i opti...
khalifathul
1

votes
0

answer
548

Views

While uploading image using react native fetch blob, file gets uploaded but the file size is 0?

The file is image is uploaded but the file size is 0 and image cannot be viewed. Also, after upload button is pressed the app freezes and gets closed itself. Below is the code that i have written. uploadingPhotos() { RNFetchBlob.fetch('POST','localhost/uploadingImage.php', { Authorization: 'Beare...
Pots
1

votes
0

answer
586

Views

How to Retrieve downloaded file to play React-native

I'm using react-native-fetch-blob to download the File . The File is residing at RNFS.DocumentDirectoryPath + fileExtension; eq: RNFS.DocumentDirectoryPath /myMusic.mp3; the downloaded file is located at /data/user/0/com.myproject/files/myMusic.mp3 and As per react-native-sound it is asking to place...
deva11
1

votes
1

answer
186

Views

Error when copying data from Azure Blob Storage to SQL Server using Azure Data Factory V2

When triggering my Azure Data Factory V2 pipeline, I receive the following error message: { 'errorCode': '2109', 'message': 'Region detection for linked services with type 'SqlServer' is not supported, please specify location instead.', 'failureType': 'UserError', 'target': 'Staging' } My Azure Data...
Michelle Turner
1

votes
0

answer
276

Views

using distcp to copy from on-prem to azure blob

I'm trying to copy petitioned parquet files (created by sqoop) to Azure Blob using distcpt utility but with no luck. I'm runing my code on Hadoop Hortonworks 2.7.3.2.6.4.0-91. I can create folders and files using: hadoop fs -D hadoop.security.credential.provider.path=localjceks://file/tmp/test.jceks...
johovic
1

votes
1

answer
743

Views

Read blob file in base64 and upload on the server

When I drop a file in the upload area, the React-dropzone returns an object such as: let picture = [ { 'rawFile': { 'preview': 'blob:http://localhost:3000/ff851b03-b2c0-4212-9240-8d07057ad47d' }, 'src': 'blob:http://localhost:3000/ff851b03-b2c0-4212-9240-8d07057ad47d', 'title': '1397-01-20 13.43.24....
Ali Hesari
1

votes
2

answer
235

Views

Compressing LOB-segments doesnt reclaim space

I try to compress lob segments: ALTER TABLE 'MA_USER'.'TEST_CLOB_COMPRESS3' MODIFY LOB('RTDM_RESPONSE_XML') ( compress high ); but this query reports that 'bytes' column has the same value: select S.BYTES/1024/1024/1024,S.* from dba_segments S where segment_name in (select segment_name from dba_...
Jdzel
1

votes
1

answer
2k

Views

Oracle - Update BLOB with PL/SQL

I need to update a preexisting BLOB value in table using PL/SQL. I'm dealing with poor table design, the column should be CLOB and that is not going to change. The steps I want to perform: 1) select the BLOB 2) convert the BLOB to CLOB 3) modify the CLOB 3) convert the CLOB to BLOB 4) update the...
elusive
1

votes
0

answer
170

Views

Reading bytes from MySQL BLOB in PHP

I'm trying to read a BLOB field to integer array (I would like to use a byte, but there is no byte data type in PHP, right?) This is how I read my data with one blob field: This is a product of my code: 2017-12-01 string(6226) '001829406f247ae147ae1401072d406f40a3d70a3d71010b23406f18f5c28f5c29010c...
Kamil
1

votes
1

answer
1.5k

Views

Does react native support Blob?

I am working on a react native project where i have to upload an image to my company specified cloud services (which i cant disclose here) which requires XMLHttpRequest Level 2, FileReader and Blob support. var srcData = new Blob([base64Data], {type: 'image/jpeg'}); I have to use the above variable...
HungrySoul
1

votes
0

answer
31

Views

Search by BLOB Image in mySQL

I'm trying to search one of my tables however by using the BLOB image. So for instance, I need to get info of another column using the BLOB as an identifier. Not sure if this can be done. Im my example, I'm trying to retrieve my ArtistID using the blob assosciated with that artist. Do i need to sear...
style237
1

votes
0

answer
218

Views

General Data Protection Regulation (GDPR), How can I generate report of user history

I am facing an issue of timeout and exception, which will incomplete the task, this is first time implementation this security feature in the application. Process is : Generate e-mail of history data Delete images from blob storage Delete actual data from DB What is the efficient and correct way to...
Furqan Misarwala
1

votes
0

answer
205

Views

open stream pdf in IE using angular

I would open a pdf file in the navigator Actually Chrome is working . when click on file pdf is getting open in new window public openFile(path) { let url='/download/'; let headers = new HttpHeaders(); let pathFile= new HttpParams().set('pathFile', path); return this.httpClient.get(url,{params:pathF...
Hamza Haddad

View additional questions