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

File transfer is not working, Base64 encoding is parsed incorrectly when returning binary data from remote #46

Closed
Hi-Fi opened this issue Dec 29, 2019 · 1 comment

Comments

@Hi-Fi
Copy link
Collaborator

Hi-Fi commented Dec 29, 2019

When trying to return Binary data with following Java method:

    @RobotKeyword
    @ArgumentNames({ "file_name" })
    public byte[] returnImage(String fileName) throws IOException {
        return Files.readAllBytes(new File(fileName).toPath());
    }

image can't be written to file at the client side. When removing usage of custom TypeFactory, transfer seems to be working OK. With Python and Javascript remote servers file transfer works without issues.

@Hi-Fi
Copy link
Collaborator Author

Hi-Fi commented Jan 14, 2020

Fixed in release 4.0.0

@Hi-Fi Hi-Fi closed this as completed Jan 14, 2020
Hi-Fi added a commit that referenced this issue Jan 14, 2020
Fixes #46

Fixes #34

Fixes #30
Hi-Fi added a commit that referenced this issue Jan 14, 2020
Fixes #46

Fixes #34

Fixes #30
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

No branches or pull requests

1 participant