Example #1
0
        public void giveAutToGroupInDB(RecivedFiles rf)
        {
            string       req  = "INSERT INTO conf2 VALUES ('" + nomDuGroup + "','" + rf.nom + "')";
            ConnectionDB Conn = ConnectionDB.getInstance();

            Conn.executer(req);
        }
        public static void DownloadFile(RecivedFiles f, string dest)
        {
            FileSystemInfo file = api.DownloadFile("dropbox", f.getNom());

            file.Save(dest);
        }
 public static void DeposeFile(RecivedFiles f)
 {
     api.UploadFile("dropbox", f.getNom(), f.getPathOfSave());
 }