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

[SSH Connection] Better results file handling #1176

Open
ngriffiths21 opened this issue Aug 27, 2024 · 3 comments
Open

[SSH Connection] Better results file handling #1176

ngriffiths21 opened this issue Aug 27, 2024 · 3 comments
Labels
feature request New feature or request

Comments

@ngriffiths21
Copy link

When using an SSH remote connection with HTML5 results enabled, every SAS submission produces a new .htm file in the home directory on the remote server. In my case, I use the remote server for other activities and want to prevent these files from accumulating (and even if I didn't, it doesn't seem like good practice to fill up the home directory this way).

Describe the solution you'd like
It should be possible to configure where the HTML results are stored on the remote server.

Describe alternatives you've considered
I tried changing the saspath to a script that first cd's into a custom directory, but this doesn't work because the extension expects the results file in the home directory. The SSH commands used by the extension are not configurable. The only available option appears to be turning off the html5 output, creating a custom "run SAS file" task with preambles and postambles that direct the output to a different location, and loading the results file manually. This is unnecessarily complicated and doesn't make use of the integrated results pane.

Environment
SSH remote connection

@scnwwu scnwwu added the feature request New feature or request label Aug 28, 2024
@smorrisj
Copy link
Contributor

For Remote - IOM, we store these ODS HTML5 files in the work directory. This also ensures that they get cleaned up when the session closes. If we were to make the same happen for the Remote - SSH connection method would that work for you?

@ngriffiths21
Copy link
Author

Yes, that would be a huge improvement because it would be easy to change with command line options.

@smorrisj
Copy link
Contributor

smorrisj commented Aug 28, 2024

Yes, that would be a huge improvement because it would be easy to change with command line options.

Sounds good. Will try to work this into #1126. @snlwih

@snlwih snlwih changed the title Better results file handling when using SSH remote connection [SSH Connection] Better results file handling Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants