1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
<?php
// action="tstphp.php"
$filename = "";
$valeur = "";
?>
<div class="tb_1">
<fieldset>
<legend><h2>. Chargement du fichier sur les Serveurs .</h2></legend>
<br>
<form name="choix_file" method="post" enctype="multipart/form-data" action="tstphp.php" >
<input id="idFtp" name="cbFtp" type="radio" value="cbFtp" checked="checked"> Envoyer sur FTP Lws <br>
<input id="idSFtp" name="cbFtp" type="radio" value="cbSFtp"> Envoyer sur SFTP Ionos <br><br>
<label for="fileUpload">Fichier:</label>
<input type="file" name="fichier" id="fileUpload" accept=".csv, .txt"/>
<input type="submit" name="submit" value="Envoyer vers le serveur" disabled="disabled">
</form>
<p><strong>Info:</strong> Seuls les formats .txt, .csv sont autorisés. Taille maxi: 5 Mo.</p>
</fieldset>
</div> |
Partager