diff --git a/carrier_pigeon/senders.py b/carrier_pigeon/senders.py index 3863106..2c31132 100644 --- a/carrier_pigeon/senders.py +++ b/carrier_pigeon/senders.py @@ -118,7 +118,7 @@ def _connect(self, file_path, target_url): def _send_file(self, file_path, target_url, row=None): """ Send the file by FTP using information found in url. """ - ftp = self._connect() + ftp = self._connect(file_path, target_url) target_path = os.path.join( target_url.path,