Skip to content

computer: add putFile command #19

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

Open
wants to merge 19 commits into
base: ty/fix-build-and-url
Choose a base branch
from
Open

Conversation

matildepark
Copy link
Contributor

@matildepark matildepark commented Jan 31, 2025

Adds a putFile command that takes a file path, grabs the stream and POSTs it onto the machine.

This should work given our Hudson code?

But instead, it just gives a pleasant 200 with an empty response body, and never seems to put it on the machine in question. Can you confirm this is what we expect and why this might be the case @asebexen ?

@matildepark matildepark requested a review from asebexen January 31, 2025 21:42
@asebexen
Copy link
Contributor

asebexen commented Feb 1, 2025

Will investigate this tomorrow. I’m wholly unfamiliar with the /file endpoint so I have no intuition off the top of my head.

@matildepark
Copy link
Contributor Author

Thanks to @asebexen we discovered our back-end route is actually /file/file/upload, lol. This works fine.

image

@matildepark matildepark requested review from AlephNotation and removed request for asebexen February 6, 2025 02:35
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 this pull request may close these issues.

3 participants