Kostenloser Temporärer Dateifreigabe-Dienst - Schnelle & Sichere Dateiübertragung
Laden Sie Dateien (bis zu 100MB) hoch und erhalten Sie temporäre Download-Links mit globaler CDN-Beschleunigung
✨ NEU: QR-Codes für einfache mobile Downloads generieren!
Hinweis: Anonyme Uploads werden nach 7 Tagen automatisch gelöscht, um Ihre Privatsphäre zu schützen
Drag & Drop, aus Zwischenablage einfügen (Strg+V) oder auf Datei wählen klicken
Verwendung - Mehrere Datei-Upload-Methoden
tfLink bietet verschiedene bequeme Datei-Upload-Methoden, um unterschiedliche Benutzerbedürfnisse zu erfüllen. Egal, ob Sie Entwickler, Designer oder normaler Benutzer sind, Sie werden eine passende Upload-Methode finden.
Web-Upload (Empfohlen)
Die einfachste Art: Ziehen Sie Dateien direkt in den obigen Bereich oder klicken Sie auf die Schaltfläche Datei wählen. Erhalten Sie Download-Links sofort nach dem Upload.
🆕 QR-Code-Funktion: Klicken Sie nach dem Upload auf die Schaltfläche "QR-Code", um einen QR-Code für einfache mobile Downloads zu generieren. Perfekt zum Teilen von Dateien zwischen Geräten!
Befehlszeilen-Upload (CLI)
Perfekt für Entwickler und technische Benutzer, unterstützt Skriptautomatisierung und Stapelverarbeitung.
Ersetzen Sie Platzhalter wie /path/to/your/file.ext, YOUR_USER_ID, YOUR_AUTH_TOKEN durch Ihre tatsächlichen Werte.
Linux/macOS (curl):
Anonymer Upload:
curl -X POST https://tmpfile.link/api/upload -F "file=@/path/to/your/file.ext"
Authentifizierter Upload:
curl -X POST \
-H "X-User-Id: YOUR_USER_ID" \
-H "X-Auth-Token: YOUR_AUTH_TOKEN" \
https://tmpfile.link/api/upload \
-F "file=@/path/to/your/file.ext"
Windows (PowerShell):
(Hinweis: Stellen Sie sicher, dass die Dateipfade für Windows korrekt sind, z.B. C:\path\to\your\file.ext)
Anonymer Upload:
Invoke-RestMethod -Uri https://tmpfile.link/api/upload -Method Post -ContentType multipart/form-data -InFile C:\path\to\your\file.ext
Authentifizierter Upload:
$headers = @{
"X-User-Id" = "YOUR_USER_ID";
"X-Auth-Token" = "YOUR_AUTH_TOKEN"
}
Invoke-RestMethod -Uri https://tmpfile.link/api/upload -Method Post -ContentType multipart/form-data -Headers $headers -InFile C:\path\to\your\file.ext
Python-Upload
Installieren Sie das offizielle Python-Paket für einfachere Datei-Uploads:
Installation:
pip install tflink
Anonymer Upload:
from tflink import TFLinkClient
client = TFLinkClient()
result = client.upload('document.pdf')
print(f"Download: {result.download_link}")
Authentifizierter Upload:
from tflink import TFLinkClient
client = TFLinkClient(
user_id='YOUR_USER_ID',
auth_token='YOUR_AUTH_TOKEN'
)
result = client.upload('document.pdf')
print(f"Download: {result.download_link}")
API-Dokumentation
Senden Sie eine POST-Anfrage an /api/upload mit multipart/form-data. Fügen Sie die Datei in einem Feld namens file hinzu.
Für authentifizierte Anfragen fügen Sie die Header X-User-Id und X-Auth-Token hinzu.
Die Antwort ist JSON und enthält fileName, downloadLink, downloadLinkEncoded, size, type und uploadedTo.
Beispiel HTTP-Anfrage (Raw):
POST /api/upload HTTP/1.1
Host: tmpfile.link
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW
# Optional headers for authentication:
# X-User-Id: YOUR_USER_ID
# X-Auth-Token: YOUR_AUTH_TOKEN
------WebKitFormBoundary7MA4YWxkTrZu0gW
Content-Disposition: form-data; name="file"; filename="yourfile.txt"
Content-Type: text/plain
(content of your file here)
------WebKitFormBoundary7MA4YWxkTrZu0gW--
(Hinweis: Der Boundary-String variiert je nach Client.)
Beispiel JSON-Antwort:
Beispiel für anonymen Upload (Dateien werden nach 7 Tagen automatisch gelöscht):
{
"fileName": "my file 文件.png",
"downloadLink": "https://d.tmpfile.link/public/2025-07-31/a1b2c3d4-e5f6-7890-abcd-ef1234567890/my file 文件.png",
"downloadLinkEncoded": "https://d.tmpfile.link/public/2025-07-31/a1b2c3d4-e5f6-7890-abcd-ef1234567890/my%20file%20%E6%96%87%E4%BB%B6.png",
"size": 102400,
"type": "image/png",
"uploadedTo": "public"
}
Beispiel für authentifizierten Benutzer-Upload:
{
"fileName": "document.pdf",
"downloadLink": "https://d.tmpfile.link/users/YOUR_USER_ID/2025-07-31/uuid-example/document.pdf",
"downloadLinkEncoded": "https://d.tmpfile.link/users%2FYOUR_USER_ID%2F2025-07-31%2Fuuid-example%2Fdocument.pdf",
"size": 2048000,
"type": "application/pdf",
"uploadedTo": "user: YOUR_USER_ID"
}