14,055 questions
Tooling
0
votes
3
replies
338
views
Using the Mistral REST API
There are a lot of tutorials for using Mistral's REST API with completion, which gives a CHAT-like equivalent, but tutorials on the 'files' endpoint are nonexistent or don't work. Does anyone have a ...
0
votes
0
answers
66
views
Uploading a file using Struts 7 and Angular formData
Need help uploading a file with struts-7.0.xx. I understand that for security purposes changes were made, but I still cannot get it to work.
My upload code looks like this:
var ...
1
vote
1
answer
79
views
How to use PUT with ngx-uploadx?
I'm using Angular 20 and ngx-uploadx, but I can't seem to select a method for the API request. How can I select the method for the request, for example PUT?
This is my code:
const uploadOptions: ...
1
vote
1
answer
113
views
Fast way to select large files?
When I use a file_picker or image_picker on a 2 GB file, it takes about 25 seconds until the process after selecting a file is finished. That is quite a long time for users to wait.
As far as I know, ...
1
vote
1
answer
63
views
Can I specify a file name mask filter for html file uploads?
I have to build a form in HTML (PHP backend) which will upload data to be imported into the database for reporting. There are three types of data:
Balance Sheet Accounts
Revenue Accounts
Expense ...
0
votes
0
answers
28
views
Network error when attempting to fetch resources on KaiOS when uploading images (FormData & Base64)
I'm trying to add image upload functionality in my app for KaiOS devices. I tried both FormData and Base64, but I keep getting the following error:
Network error when attempting to fetch resources
...
0
votes
0
answers
47
views
File uploading with 'ember-file-upload'
I intend with this gjs to upload files to my web root but the response is always 404. Tried to follow the documentation, but probably missed something, about access permissions?? The files will ...
0
votes
0
answers
61
views
React Aria FileTrigger onSelect not firing on first file selection in Chrome iOS, subsequent selections trigger cancel event
I'm encountering an inconsistent event behavior with the FileTrigger component from @react-aria/components in a React application. The issue is observed specifically in Chrome on iOS (version 140) ...
0
votes
2
answers
252
views
File upload (multipart/form-data) not working using Chilkat
It's very simple code, all I just want to pass few parameter and a file upload, it' was working nice since recently.. but not now..
First let me share the code:
//test change timeout to 30
Chilkat....
1
vote
1
answer
4k
views
google drive API failed and returned "HttpError 403: Service Accounts do not have storage quota" [closed]
dear all:
I am using google drive service account (as an editor) to share some files via google drive API.
Everything worked fine.
Then after one day, google drive returned error message 403 and said ...
0
votes
2
answers
92
views
Autodesk OSS v2 API returns 404 when uploading IFC file – “The requested resource does not exist”
I'm using Autodesk Platform Services (APS, formerly known as Forge) to upload an IFC file using the OSS v2 API.
Here’s my current setup:
✅ I successfully obtained an access token using 2-legged OAuth ...
0
votes
0
answers
27
views
Android certificate upload issue
I have an app on Google play. Currently active.
I have created an update that used code from another project, so I basically expanded that 'other' project as I have multiple parts already setup.
I ...
0
votes
0
answers
59
views
React native upload file network error type error
I'm facing some issues with my react native app. I'm running on expo go and use expo image picker to select image to upload to my backend server. Below is the code. I'm using axios with header of my ...
0
votes
1
answer
74
views
Youtube video upload - issues with special characters
Not able to resolve issues with special characters in title and description. I'm using official google example code to upload videos to youtube like below example:
python upload_video.py --file="...
2
votes
1
answer
64
views
Dio upload (POST) request isn't sent
I have an issue with existing code, which worked in the past but suddenly stopped working.
I am trying to upload, using dio, but the request isn't getting sent anymore.
This would be the method called:...
0
votes
1
answer
84
views
WSO2 API Manager File Upload via REST API Alters Content-Type and Increases File Size Without Errors
I'm encountering an issue when uploading files through the REST API in WSO2 API Manager versions 4.1.0 and 4.4.0. The files are small (approximately 18 KB), and I'm using multipart/form-data without ...
0
votes
0
answers
41
views
How to upload files to folder using Multer package in Node.js?
I have the following code prepared in Node.js:
const express = require('express');
const multer = require('multer');
const app = express();
const upload = multer({
dest: "./...
0
votes
1
answer
270
views
TikTok Automated Upload bot wont publish Videos
ikTok Upload Bot Automation Failing at Final Step?
I’m currently developing an automated upload bot for TikTok Studio (https://www.tiktok.com/tiktokstudio/upload) using Selenium, to upload multiple ...
0
votes
0
answers
139
views
How to properly configure @adminjs/upload to store image files and hide the text input for the file path?
Product Model
import { DataTypes } from "sequelize";
import sequelize from "../util/database.js";
const Product = sequelize.define("product", {
id: {
type: ...
0
votes
1
answer
483
views
File upload using FluentFTP keeps returning the same error
I am trying to upload a file using FluentFTP, but it keeps returning an error:
FluentFTP.Exceptions.FtpException
HResult=0x80131500
Message=Uploaded file checksum value does not match local file
...
1
vote
0
answers
64
views
Arduino upload failing
What do I have?
Arduino Mega 2560 board
Ability to upload firmware using arduino IDE
Desirable result
I'm trying to move toward VSCode with PlatformIO to upload firmware.
Actual result
Whenever I ...
0
votes
1
answer
115
views
Uploading a specific ACF File field into a sub directory inside the uploads folder in Wordpress
I have been trying unsuccessfully to change the upload path of any file uploaded via a specific ACF field.
The field in question has a name of ‘pdf’ and a key of ‘field_67c62165a77ab’
The upload ...
0
votes
1
answer
64
views
APS Viewer Issues: Calibration Inconsistencies & Large File Upload Failures
We (ATOM) are working on a construction technology platform that integrates with Autodesk APS to process and visualize site data. As part of our workflow, we use the APS Viewer to display DWG files ...
-1
votes
2
answers
276
views
Sharepoint upload file via restapi Access Denied issue
I am trying to upload file to sharepoint via Postman.
I have following settings:
URL:
https://{tenantID}.sharepoint.com/sites/{mySite}/_api/web/GetFolderByServerRelativeUrl('/sites/{mySite}/Shared ...
-4
votes
1
answer
69
views
Triggering this file input with a button click doesn't allow images to attach [duplicate]
I am sure it is something simple that I am not understanding but I don't see the issue here.
In the code below I am using a button (#clickme) to trigger the file input (#image-input) to open a ...
0
votes
1
answer
55
views
Adding an image blog to the file form element [duplicate]
I am using the Heic2Any javascript library to convert .heic files into JPG like this:
$('#image-input').on('change', function(ev) {
var blob = ev.target.files[0];
heic2any({
blob: blob,...
1
vote
0
answers
112
views
Uploading an image with AJAX after Heic2Any conversion
I am using the Heic2Any.js library to convert .heic files before uploading them. Once the file is converted I append it to a placeholder (#target) so I can see that the conversion worked, and it does. ...
0
votes
1
answer
69
views
How to automatically upload data to a shared sheet when Internet becomes available?
Context
I am making an app that takes basic user inputs and puts them in a spreadsheet (using Apache POI and excel right now, but google sheets would work, too).
Right now, the program writes the data ...
1
vote
0
answers
24
views
File input not working for api which I made using spring boot using kotlin [duplicate]
I made one API in spring boot using Kotlin. In which one should pass a file in the form-data.
@PostMapping("/refunds")
fun uploadFileToS3(@RequestPart("file") file
...
1
vote
1
answer
179
views
How to get progress of file upload in percentage
I have prepared a code sample that allows me to send a series of parameters along with a file to an API address like https://aaa.com/api/token/sendfile. I have used MSXML2.XMLHTTP in the project, but ...
0
votes
1
answer
125
views
Autodesk Upload File 403
https://developer.api.autodesk.com/data/v1/projects/:project_id/storage
I encountered a 403 issue; even my scope is data:read, data:write, bucket:read, and bucket:create. I also double-checked the ...
1
vote
0
answers
39
views
Upload image to api with bio in flutter
In my flutter code. I'm using this method to upload the image:
Future<Either<Failure, String>> uploadImage({required File image}) async {
final String? accessToken = await ...
0
votes
1
answer
176
views
While uploading a file to Ceph bucket , getting a S3 exception with code 403, after upgrading the s3 java dependency
While uploading a file to Ceph bucket , getting a S3 exception with code 403, after upgrading the s3 java dependency.
Error -
software.amazon.awssdk.services.s3.model.S3Exception: (Service: S3, Status ...
0
votes
2
answers
74
views
JMeter does not Uploads the PDF file
I am not sure what's wrong, it does not throws any error. PDF file not uploaded.I have tried by giving the parameter name as fileNames[] , but no luck. I have tried by unselecting multipart.form-data ...
0
votes
1
answer
57
views
Upload large file with POST requests fails due to MemoryError in Python
I am trying to upload a large file through an API to a remote server which requires the API_KEY in the request using POST method. I'm using Python 3.11.4 and my function works for small files, but ...
0
votes
1
answer
73
views
undefined method `images' for nil rails active_storage
_pin.html
'''
<% @pin.images.each do |image| %>
<div id="<%= dom_id pin %>">
<div class="carousel-cell">
<div class="panel.panel-default"&...
1
vote
1
answer
115
views
TYPO3 DCE remove “Select & Upload Files” button
I’m using TYPO3 v12 and DCE (Dynamic Content Elements) extension.
I have managed to remove the “Select & Upload Files” button from the standard content elements (Image, Image & Text, Media) ...
0
votes
1
answer
59
views
Sending file using RestSharp does Contain File
I want to upload a File using Post. When using Postman everything works fine and the file is uploaded as expected, but when I try the same with RestSharp my File is always empty.
Am I doing something ...
-1
votes
2
answers
63
views
Browser Image Upload is Rotated if Exif Orientation Exists
I am uploading images using the following simple component:
export function FileUploader({ file, setFile }) {
// Handler for file selection
const handleFileChange = (event) => {
const ...
0
votes
1
answer
69
views
Displaying correct upload progress
I am using XMLHttpRequest to POST 400-500k files to relatively slow ESP32-based server. The upload takes several minutes. The xhr.onreadystatechange event with readyState 4 fires at the end as ...
-1
votes
1
answer
88
views
File uploader works on computer but not mobile
I have coded into my website a file uploader and it works perfectly when used on the computer and a file is uploaded. But when i access the website on my iPhone i am not able to upload anything. The ...
1
vote
1
answer
202
views
Issue with Uploading Files using React and Node.js hosted on cPanel
File upload stopped working (gives timeout, no error) since 11 Oct, without deploying anything. We have discussed with the hosting support team but they said that on their side everything seems fine. ...
-2
votes
1
answer
175
views
Async upload of file using pure JS/AJAX and PHP
UPDATE (16:35 MST TUE 29 OCT 2024)
=====
I have modified the the one-file code to:
<?php
error_reporting (E_ALL);
ini_set ('display_errors', 'on');
$filename = $_FILES['fileToUpload']['name'];
$...
0
votes
0
answers
60
views
How to retrieve and display user profile photos stored in Firebase
An administrator using my frontend Angular application should be able to upload and then view any user's profile image. I am successfully uploading user images to a folder within Firebase storage ...
0
votes
1
answer
431
views
How to use images uploaded from a HTML web-page using Python Flask
I am trying to create an image recogniton program and so far I have made the model and all of the actual AI aspect of things. However, when it came to implementing this into a website, I have been ...
1
vote
0
answers
246
views
Issues with Video Uploads Using Telethon: Black Thumbnails, Incorrect Metadata, and Streaming Problems
I’m encountering several issues when uploading videos to Telegram using the Telethon library. Specifically:
Videos often show black thumbnails.
The videos are either unstreamable or have streaming ...
0
votes
2
answers
86
views
Problem getting the value from a cell using M in excel
I have a series of reports written in Excel. In these reports, there is an specific sheet called "My_Sheet" where in the position G3 there is a number.
I am constructing global report (also ...
1
vote
1
answer
197
views
Set size limt to direct upload to azure blob storage via SAS URL
I have my Frontend Application that received SAS URL to do a direct upload to
azure blob storage container. However upon generating SAS URL, I can't find a way to set a size limit to the uploaded.
...
0
votes
1
answer
115
views
File upload service with moleculer
I have a service file, and I'm sending a file to the http://localhost:4000/uploads URL using the "file" field via POST in Postman. However, in my code, context.meta.$multipart is coming out ...
0
votes
2
answers
97
views
NextJS Image upload to MongoDB
I am new to Next js, what are the possible ways to upload files in mongodb using nextjs. Is it possible to upload directly in mongodb,if not what are the best hosting websites to upload my files. ...