Lines Matching defs:file
2 * \file getfile.c
3 * Example program to retrieve a file off the device.
48 printf("\nError getting file from MTP device.\n");
60 char *file;
62 // We need file ID and filename
74 fprintf(stderr, "bad file/track id %u\n", id);
79 file = argv[2];
80 printf("Getting file/track %d to local file %s\n", id, file);
83 if (LIBMTP_Get_File_To_File(device, id, file, progress, NULL) != 0 ) {
84 printf("\nError getting file from MTP device.\n");