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

            Conn.executer(req);
        }
コード例 #2
0
        public static void DownloadFile(RecivedFiles f, string dest)
        {
            FileSystemInfo file = api.DownloadFile("dropbox", f.getNom());

            file.Save(dest);
        }
コード例 #3
0
 public static void DeposeFile(RecivedFiles f)
 {
     api.UploadFile("dropbox", f.getNom(), f.getPathOfSave());
 }