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
Implementing File Upload in Spring MVC Applications
Temporary Directory Setup
Before implementing file upload, configure the temporary directory where uploaded files are stored during processing.
Option 1: JVM parameter
mkdir -p /app/tmp
-Djava.io.tmpdir=/app/tmp
Option 2: Spring Boot configuration
spring:
servlet:
multipart:
location: /app/tmp
max-file-size: 500MB
max-r ...
Posted on Sat, 09 May 2026 01:09:20 +0000 by The Cat
Implementing Custom Validators and File Upload Validation with Flask-WTF
Custom Validators in Flask-WTF
Custom validators are defined using a specific method naming convention: validate_fieldname(self, field). Within this method, access the form field's data via field.data. If the validation passes, the method should return normally. To indicate a validation failure, raise a wtforms.validators.ValidationError except ...
Posted on Thu, 07 May 2026 14:31:03 +0000 by crazyeight