Revision: 67811
Updated Code
at November 1, 2014 18:07 by slvakumr
Updated Code
// Check if a file exists in google drive. // Author : Selva Kumar // Blog : slvakumr.com // Date : 30 October 2014 function CheckIfFileExists(name, mimeType){ var flag = false; var files = DriveApp.getFilesByType(mimeType); while (files.hasNext()) { var file = files.next(); if(file.getName() == name) { flag = true break; } } return flag; }
Revision: 67810
Updated Code
at October 30, 2014 19:59 by slvakumr
Updated Code
// Check if a file exists in google drive. // Author : Selva Kumar // Blog : slvakumr.com // Date : 30 Octber 2014 function CheckIfFileExists(name, mimeType){ var flag = false; var files = DriveApp.getFilesByType(mimeType); while (files.hasNext()) { var file = files.next(); if(file.getName() == name) { flag = true break; } } return flag; }
Revision: 67809
Updated Code
at October 30, 2014 19:54 by slvakumr
Updated Code
// Check if a file exists in google drive. // Author : Selva Kumar // Blog : slvakumr.com function CheckIfFileExists(name, mimeType){ var flag = false; var files = DriveApp.getFilesByType(mimeType); while (files.hasNext()) { var file = files.next(); if(file.getName() == name) { flag = true break; } } return flag; }
Revision: 67808
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 30, 2014 19:36 by slvakumr
Initial Code
// Check if a file exists in google drive. function CheckIfFileExists(name, mimeType){ var flag = false; var files = DriveApp.getFilesByType(mimeType); while (files.hasNext()) { var file = files.next(); if(file.getName() == name) { flag = true break; } } return flag; }
Initial URL
Initial Description
Check if a file exists in Google Drive
Initial Title
Check if a file exists in Google Drive
Initial Tags
google, script
Initial Language
C++