Can be achieved with Filefield Sources module.


  FileField Sources is an extension to the FileField module. The FileField module lets you upload files from your computer through a CCK field. The FileField Sources module expands on this ability by allowing you to select new or existing files through additional means, including:
  
  
  Re-use files by an auto-complete textfield
  Attach server-side files uploaded via FTP
  Transfer files from a remote server (cURL required)
  Paste a file directly from the clipboard (Drupal 7 only)
  Select existing files through the IMCE file browser
  


How to make Drupal upload pasted links to .doc files from the internet
I have a list of some strings and I want to create a list for each of them dynamically inside a loop.

The main idea is to get each string from this list through the loop and create a list with this string as a name. Then add some data to it. 

Example:

   List&lt;string&gt; names = new List&lt;string&gt;(); // this is the main list with strings

   foreach (string nm in name)
   {
     // Here create a new list with this name
     // Add data to the list
   }  

   // Now, compare all of them to find duplicate data

   // Give message if any duplicate data found


Update:
Basically, I am going to add data to the list using some database APIs on runtime and the string names are the keys in that API. So with each name in the main list, I will retrieve some data from the database, create a list with that name and add data to it. Later we will compare them together. So the basic question is still how do I create these lists at runtime.
