Пример #1
0
int main()

{
   
   int choice;
   char filename[200] = {0};
   get_fold_id();
   printf("Enetr ur choice\n 1.auth_tok\n 2.refresh_tok\n 3.putdata\n 4.down_data \n 5.read_fold\n 6.Create Folder\n"); 
	scanf("%d",&choice);
	
	if(choice == 1)
		auth_tok();
	if(choice == 2){
        get_toks();
		refresh_tok();

	}
    //read_fold();
    //uplaod_data();
    if(choice == 3){
      printf("\nEnter File name: ");
      gets(filename);
	  get_toks();
      putdata("downfile.txt",fold_id);
  }
  if(choice ==4)
  {
	  get_toks();
    down_data();

  }
  if(choice ==5){
   get_toks();
	  read_fold();
  }
  if(choice ==6){
  get_toks();
  create_fold();
  }
	main();
}
Пример #2
0
int main(){


 refresh_tok();

}