Bonjour,

J'aimerai pouvoir convertir ces quelques lignes de code php en asp,
mais je n'ai aucune connaissance en ASP,
pouvez vous m'aider s'il vous plait ?

Voici mon code :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
<?php
$fichier = "http://127.0.0.1/DreamTest/Test/7b6a0f2d-f9d2-43a0-8b63-ae01f9f60025/1.0.0.2/SETUP/Setup.exe";
header("Content-disposition: attachment; filename=Setup.exe");
header("Content-Type: application/octetstream");
header("Content-Transfer-Encoding: binary");
header("Content-Length: 1150388");
header("Pragma: no-cache");
header("Expires: 0");
readfile($fichier);
?>
Merci beaucoup.
Cordialement.

- Kahoerre