Bool incomingFileExists(String key)
Arguments
key: The key to check for files
Usage
Returns true if any files have been uploaded with this key name. This is generally better than catching NotIncoming exceptions from incomingFile.
if (incomingFileExists("picture")) {
pic = incomingFile("picture");
myUploadProcessor(pic);
}