Skip to content

dekkaladiwakar/file-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Uploading System

This system allows users to upload large files in a chunked manner through parallel processing.

Server Used

  • Go (Golang)

Running the Go Server

go run main.go

Frontend

index.html

Endpoint

Upload File Chunks

  • URL: /upload
  • Method: POST
  • Form Data:
    • file: The file chunk.
    • chunkNumber: The number of the current chunk.
    • totalChunks: The total number of chunks.
    • fileID: An identifier for the file being uploaded.

Example Request:

curl -X POST \
  http://localhost:8080/upload \
  -H 'content-type: multipart/form-data' \
  -F file=@path/to/chunk \
  -F chunkNumber=1 \
  -F totalChunks=5 \
  -F fileID='example-file'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published