You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "temp.py", line 6, in <module>
fs.put('tempdir', 's3://our_bucket/key/', recursive=True)
File "/home/jovyan/temp/venv/lib/python3.7/site-packages/fsspec/asyn.py", line 227, in put
sync(self.loop, self._put, lpaths, rpaths, **kwargs)
File "/home/jovyan/temp/venv/lib/python3.7/site-packages/fsspec/asyn.py", line 51, in sync
raise exc.with_traceback(tb)
File "/home/jovyan/temp/venv/lib/python3.7/site-packages/fsspec/asyn.py", line 35, in f
result[0] = await future
File "/home/jovyan/temp/venv/lib/python3.7/site-packages/fsspec/asyn.py", line 214, in _put
for lpath, rpath in zip(lpaths, rpaths)
File "/home/jovyan/temp/venv/lib/python3.7/site-packages/s3fs/core.py", line 601, in _put_file
with open(lpath, 'rb') as f0:
IsADirectoryError: [Errno 21] Is a directory: '/home/jovyan/temp/tempdir'
And sf3s v0.4 does not.
What you expected to happen:
if recursive=True, all directory contents should be copied to remote.
Activity
martindurant commentedon Sep 9, 2020
Would you please like to test again with the latest versions?
roy-ht commentedon Sep 10, 2020
v0.5.1 looks good to me, Thanks!!