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

Add tube helper to upload files #2367

Open
peace-maker opened this issue Mar 17, 2024 · 0 comments · May be fixed by #2410
Open

Add tube helper to upload files #2367

peace-maker opened this issue Mar 17, 2024 · 0 comments · May be fixed by #2410
Labels

Comments

@peace-maker
Copy link
Member

Challenges often only give you a shell on a socket so I regularly reimplement uploading of files using some appending of base64 chunks to a temporary file and decoding afterwards.

This logic can be included in something like tube.upload_file_chunked with options to control the target path, chunk size and upload strategy. Depending on which tools are installed on the remote you should be able to choose how the data is encoded and decoded.

This should be clearly distinguished from any upload abilities the ssh module offers.

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

Successfully merging a pull request may close this issue.

1 participant