diff --git a/src/Scripts/jquery.fileDownload.js b/src/Scripts/jquery.fileDownload.js
index <HASH>..<HASH> 100644
--- a/src/Scripts/jquery.fileDownload.js
+++ b/src/Scripts/jquery.fileDownload.js
@@ -329,7 +329,9 @@ $.extend({
 
         function checkFileDownloadComplete() {
             //has the cookie been written due to a file download occuring?
-            if (document.cookie.indexOf(settings.cookieName + "=" + settings.cookieValue) != -1) {
+            var lowerCaseCookie = settings.cookieName.toLowerCase() + "=" + settings.cookieValue.toLowerCase();
+
+            if (document.cookie.toLowerCase().indexOf(lowerCaseCookie) > -1) {
 
                 //execute specified callback
                 internalCallbacks.onSuccess(fileUrl);
Made cookie filename comparison case insensitive.