Archivos

  • Thread starter Thread starter Any
  • Start date Start date
A

Any

Puedo saber cuantos archivos tiene el cliente en una determinada
carpeta sin necesidad de utilizar un input tipo file en asp.net
gracias
 
Hi any,

*** The rest of the post is in spanish as was the original post
***************

Este grupo normalmente es en ingles, aunque hay algunos que hablamos
espannol :) pero si vas a postear en espannol mejor lo haces en el grupo
adecuado.

Para saber los archivos que hay en un folder puedes user
Directory.GetFiles( path_del_directorio) esto te devuelve un array de
strings , lo puedes usar asi

int files_qty = Directory.GetFiles( Path_Del_Directorio).Length;

Hope this help,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top