diff --git a/storages/backends/ftp.py b/storages/backends/ftp.py index ddcb87f9..2c911434 100644 --- a/storages/backends/ftp.py +++ b/storages/backends/ftp.py @@ -213,7 +213,7 @@ def exists(self, name): self._start_connection() try: - nlst = self._connection.nlst(os.path.dirname(name) + "/") + nlst = self._connection.nlst(os.path.dirname(name)) if name in nlst or os.path.basename(name) in nlst: return True else: