Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sftp getAccellerated fails when the filenames have colons in them. #1002

Closed
petersilva opened this issue Mar 25, 2024 · 2 comments · Fixed by #1118
Closed

sftp getAccellerated fails when the filenames have colons in them. #1002

petersilva opened this issue Mar 25, 2024 · 2 comments · Fixed by #1118
Assignees

Comments

@petersilva
Copy link
Contributor

turning on file accelleration in an sr3 subscribe configuration, when the files have colons in their names results in the second filename up until the first colon being interpreted as a hostname... and the transfer failing.


2024-03-25 20:27:21,277 [INFO] sarracenia.transfer.sftp getAccelerated accel_sftp:  /usr/bin/scp urp@server_a:/apps/sarra/radar/urpd/202403252024~KDP_NUMERIC_AS_META~PPI,PPI_KDP_HIGH:URPD:CASSN_NUMERIC_AS_META:RADAR:NUMERIC .202403252024~KDP_NUMERIC_AS_META~PPI,PPI_KDP_HIGH:URPD:CASSN_NUMERIC_AS_META:RADAR:NUMERIC
ssh: Could not resolve hostname .202403252024~kdp_numeric_as_meta~ppi,ppi_kdp_high: Name or service not known^M
lost connection

@petersilva
Copy link
Contributor Author

reproduced on command line, and also solved:

sarra_server%  scp  urp@server_a:/apps/sarra/radar/urpd/202403252024~KDP_NUMERIC_AS_META~PPI,PPI_KDP_HIGH:URPD:CASSN_NUMERIC_AS_META:RADAR:NUMERIC 202403252024~KDP_NUMERIC_AS_META~PPI,PPI_KDP_HIGH:URPD:CASSN_NUMERIC_AS_META:RADAR:NUMERIC
ssh: Could not resolve hostname 202403252024~kdp_numeric_as_meta~ppi,ppi_kdp_high: Name or service not known
lost connection

add a ./ to the beginning of the path:

sarra_server%  /usr/bin/scp urp@server_a:/apps/sarra/radar/urpd/202403252024~KDP_NUMERIC_AS_META~PPI,PPI_KDP_HIGH:URPD:CASSN_NUMERIC_AS_META:RADAR:NUMERIC ./202403252024~KDP_NUMERIC_AS_META~PPI,PPI_KDP_HIGH:URPD:CASSN_NUMERIC_AS_META:RADAR:NUMERIC
202403252024~KDP_NUMERIC_AS_META~PPI,PPI_KDP_HIGH:URPD:CASSN_NUMERIC_AS_META:RADAR:NUMERIC                               100%  469KB 100.1MB/s   00:00

@petersilva
Copy link
Contributor Author

affects sending to re-opening for sender.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant