Liste des derniers fichiers en javascript

serenodo Messages postés 14 Date d'inscription dimanche 30 avril 2017 Statut Membre Dernière intervention 6 mars 2020 - Modifié le 4 mars 2020 à 17:40
serenodo Messages postés 14 Date d'inscription dimanche 30 avril 2017 Statut Membre Dernière intervention 6 mars 2020 - 6 mars 2020 à 13:01
Bonjour,
Est-il possible d''afficher une liste des derniers fichiers créés dans une page Html?
Les noms des fichier existe dans un dossier en.js dans le site.
function store (data)
{
 data[0] = new Stock("NOM DE FICHIER ","","CHEMIN DU FICHIER" );
data[1] = new Stock("NOM DE FICHIER ","","CHEMIN DU FICHIER" );
data[2] = new Stock("NOM DE FICHIER ","","CHEMIN DU FICHIER" );
data3] = new Stock("NOM DE FICHIER ","","CHEMIN DU FICHIER" );
}

Merci.

P.S Je ne peux utiliser PHP.

5 réponses

@karamel Messages postés 1855 Date d'inscription vendredi 9 mai 2008 Statut Modérateur Dernière intervention 18 avril 2024 153
4 mars 2020 à 17:43
bonjour

sois plus precis, comment sont cree les fichiers.
0
serenodo Messages postés 14 Date d'inscription dimanche 30 avril 2017 Statut Membre Dernière intervention 6 mars 2020
5 mars 2020 à 08:11
Bonjour @karamel,

Les fichiers sont tous des PDF. dans un dossier sur un lecteur réseau externe.
Merci
0
You want to use Bundling and Minification. Depending on your version of MVC, the implementation is slightly different. In the newest version, it is used by default.

Bundling and Minification will combine and minify all your scripts (and styles sheets) into one file (or multiple, depending on how you use it) and serve them up with a unique parameter. Any time a file changes in that particular bundle (and thus the user would require to download the new files) the parameter automatically changes. https://www.upsers.mobi/
0
serenodo Messages postés 14 Date d'inscription dimanche 30 avril 2017 Statut Membre Dernière intervention 6 mars 2020
6 mars 2020 à 08:50
???? et cela veut dire quoi?
Merci.
0
Benthem Messages postés 1 Date d'inscription vendredi 6 mars 2020 Statut Membre Dernière intervention 6 mars 2020
Modifié par Benthem le 6/03/2020 à 12:44
Do you need to get all files present in the directory or you want to scan a directory for files using node.js, then you’re on the correct web page because in this Nodejs How to Tutorial, we will learning How to get the list of all files in a directory in Node.js.
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
serenodo Messages postés 14 Date d'inscription dimanche 30 avril 2017 Statut Membre Dernière intervention 6 mars 2020
6 mars 2020 à 13:01
Bonjour Benthem;
Et en français cela donne quoi ?
Merci
0
Rejoignez-nous