Integrating OSS Object Storage with Spring Boot

This project demonstrates how to integrate an object storage service with a Spring Boot application. We will use Alibaba Cloud OSS (Object Storage Service) as the example provider. First, insure you have created an OSS instance on Alibaba Cloud and obtained the access keys (Access Key ID and Access Key Secret). (Refer to the Alibaba Cloud docum ...

Posted on Sun, 21 Jun 2026 18:03:27 +0000 by ukalpa

Managing Aliyun OSS Storage Operations in Python

Interacting with Aliyun Object Storage Service (OSS) requires authenticating the client and utilizing the bucket interface to perform CRUD operations on objects. The implementation below defines a class OSSManager to encapsulate these functionalities, including file transfers, streaming data, and generating temporary access URLs.Client Initiali ...

Posted on Fri, 19 Jun 2026 17:38:33 +0000 by insub2

Implementing Resumable File Uploads with Axios

Installation First, add Axios to your project using npm: npm install axios Core Implementation The following example demonstrates a complete resumable upload system with all essential features: import axios from 'axios'; // Create a cancellation token source const CancelToken = axios.CancelToken; let cancelSource = null; // Initialize chunk ...

Posted on Tue, 16 Jun 2026 17:45:32 +0000 by misterfine

Chunked File Upload Implementation with Vue.js and Spring Boot

File Hashing Strategy To establish file uniqueness, implement an MD5 hash calculation using a sampling approach. This method processes the entire first and last chunks while sampling portions of intermediate chunks: async generateFileHash(chunks) { return new Promise(resolve => { const hasher = new SparkMD5.ArrayBuffer(); const sam ...

Posted on Mon, 15 Jun 2026 17:19:58 +0000 by brandond

Implementing Secure Avatar Uploads to Alibaba Cloud OSS with ElementUI and Spring Boot

Integrating image uploads using the ElementUI el-upload component requires a synchronized flow between the frontend and the backend storage service. This guide demonstrates how to upload an avatar to Alibaba Cloud OSS (Object Storage Service) and persist the resulting URL in a database. Frontend Implementation The el-upload component utilizes t ...

Posted on Fri, 12 Jun 2026 17:05:00 +0000 by TANK

Handling File Uploads in Web Applications Using the FormData Interface

Frontend Implementation A typical HTML structure for file selection includes an <input type="file"> and an <img> element to preview the chosen image. <input id="fileInput" type="file" accept="image/*" /> <img id="preview" alt="Preview" style="max-width: 400px; ...

Posted on Sun, 07 Jun 2026 17:35:27 +0000 by nishanthc12

Vue Component for File Upload with Base64 Encoding and Spring Boot Backend

Implementation Frontend: Vue Component A reusable file upload component that converts selected images to base64 format and sends them to the backend. <template> <el-avatar :size="80" :src="avatarSrc" @click="showDialog = true" style="cursor: pointer;" > <img src= ...

Posted on Thu, 04 Jun 2026 17:47:31 +0000 by Monk3h

FastDFS File Upload Implementation in Java

This guide covers the implementation of file upload and download operations using FastDFS with Java client. Prerequisites Before proceeeding, ensure you have FastDFS server deployed and running. You need to obtain the fastdfs-client-java library either by downloading the pre-built JAR or building from source. Configuration Setup Create a client ...

Posted on Sat, 09 May 2026 22:21:32 +0000 by kungfu71186

Implementing Chunked Upload, Instant Transfer, and Resume Functionality with Spring Boot and MinIO

To enible chunked upload, instant transfer, and resume capabilities using Spring Boot with MinIO, follow these implementation steps: Add the MinIO dependency to your pom.xml configuration: <dependency> <groupId>io.minio</groupId> <artifactId>minio</artifactId> <version>8.3.0</version> </d ...

Posted on Sat, 09 May 2026 11:12:18 +0000 by davissj

Exploiting File Upload Vulnerabilities: Webshell Deployment and Bypass Techniques

HTTP Request Methods and Data TransmissionWhen clients interact with web servers, HTTP/HTTPS protocols facilitate the exchange of request and response messages. The primary methods for transmitting data are GET and POST.GET Request: Parameters are appended to the URL as query strings, separated by ampersands (e.g., http://target.org/api?user=ad ...

Posted on Sat, 09 May 2026 05:47:51 +0000 by west4me