We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abc48d5 commit 171194eCopy full SHA for 171194e
1 file changed
synapseclient/core/remote_file_storage_wrappers.py
@@ -316,6 +316,7 @@ def progress_callback(*args, **kwargs) -> None:
316
progress_bar.update(args[0] - progress_bar.n)
317
318
parsedURL = SFTPWrapper._parse_for_sftp(url)
319
+ # If the port is not specified, it will default to 22
320
port_kwargs = {"port": parsedURL.port} if parsedURL.port else {}
321
with _retry_pysftp_connection(
322
parsedURL.hostname, username=username, password=password, **port_kwargs
0 commit comments