diff --git a/src/python/dm/common/utility/sftpUtility.py b/src/python/dm/common/utility/sftpUtility.py
index 233db3dedbb3c20937b0c77a27ca0a29289c7b07..668bba641a66793414d2b5c86864b5bb64fa8a73 100755
--- a/src/python/dm/common/utility/sftpUtility.py
+++ b/src/python/dm/common/utility/sftpUtility.py
@@ -90,7 +90,7 @@ class SftpUtility:
             if not self.sftpClient:
                 self.sftpClient = self.getSftpClient(self.host, self.port, self.username, self.password, self.privateKey)
             try:
-                md5Sum = self.sftpClient.execute('md5sum %s' % filePath)[0].split()[0]
+                md5Sum = self.sftpClient.execute('md5sum "%s"' % filePath)[0].split()[0]
                 fileInfo['md5Sum'] = md5Sum
             except Exception, ex:
                 self.getLogger().error('Could not get md5sum for file %s: %s' % (filePath,ex))