diff --git a/tasks/sftp-deploy.js b/tasks/sftp-deploy.js
index <HASH>..<HASH> 100644
--- a/tasks/sftp-deploy.js
+++ b/tasks/sftp-deploy.js
@@ -84,7 +84,7 @@ module.exports = function(grunt) {
     var fromFile, toFile, from, to;
 
     fromFile = localRoot + path.sep + inFilename;
-    toFile = remoteRoot + remoteSep + inFilename;
+    toFile = remoteRoot + remoteSep + inFilename.split(path.sep).join(remoteSep);
 
     grunt.verbose.write(fromFile + ' to ' + toFile);
Fixed path separator conversion affecting mixed Windows/*NIX uploads. grunt-sftp-deploy issue <I>.