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

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

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