-
Notifications
You must be signed in to change notification settings - Fork 96
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
storeFile raise SMBTimeout exception on files > 1k #218
Comments
|
with closing(io.BytesIO()) as source_data_fp:
source_data_fp.write(
s3_hook.get_key(bucket_name=s3_bucket_name, key=s3_key_source)
.get()["Body"]
.read()
)
source_data_fp.seek(0)
self.connection.storeFile(fs_share_name, destination_folder, source_data_fp)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our code started to fail with SMBTimeout:
After investigation appeared that it able to store 1k of byte data, hence the workaround was:
The text was updated successfully, but these errors were encountered: