Uploading more than one image from iOS shortcut only uploads first image
- Lingua principale
- Python
- Stelle
- 46.6k
- Fork
- 1.9k
- Merge medio
- 10g 16h
- PR unite (30g)
- 5
Descrizione
### Describe the bug
When attempting to upload more than one image to copyparty using the iOS shortcut, only the first image is uploaded, even though the shortcut asks for permission to upload multiple photos.
### To Reproduce
Select more than one photo in iOS phone gallery and tap share, and use the share to copyparty shortcut
### Expected behavior
All images should be uploaded to copyparty
### Screenshots
if applicable, add screenshots to help explain your problem, such as the kickass crashpage :^)
### Server details (if you're NOT using docker/podman)
remove the ones that are not relevant:
* **server OS / version:** Windows 10 21H2
* **what copyparty did you grab:** Python
* **how you're running it:** Double clicking the python file
* run copyparty with `--version` and grab the last 3 lines (they start with `copyparty`, `CPython`, `sqlite`) and paste them below this line:
* copyparty v1.19.21 "usernames" (2025-12-02)
CPython v3.14.0 on Windows64 10.0.19044 [MSC v.1944 64 bit (AMD64)]
sqlite 3.50.4*1 | jinja 2.11.3 | pyftpd 1.5.10 | tftp 0.4.0
* **copyparty arguments and/or config-file:**
### Client details
if the issue is possibly on the client-side, then mention some of the following:
* the device type and model: iPhone 14
* OS version: iOS 17.6.1
* browser version: N/A
### The rest of the stack
if you are connecting directly to copyparty then that's cool, otherwise please mention everything else between copyparty and the browser (reverseproxy, tunnels, etc.)
### Server log
if the issue might be server-related, include everything that appears in the copyparty log during startup, and also anything else you think might be relevant
### Additional context
any other context about the problem here
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Look at the iOS shortcut integration and the upload handling code in copyparty. The issue likely involves how multiple files are processed from the shortcut's share sheet. Start by examining the HTTP endpoint that receives uploads, check for multipart/form-data handling, and see if the request contains all files. Reproduce by simulating a multi-file upload from an iOS shortcut or using curl with multiple files. Verify the server logs during an upload attempt to see if all files are received.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- mobile
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100