FileNotFoundError: [Errno 2] /dbfs/fileone.csv
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2022 09:27 PM
I'm trying to transfer my csv file from databricks to sftp but i'm getting file not found error.
here is my code:
file_size = sftp.stat("/dbfs/fileone.csv").st_size
with open("/dbfs/fileone.csv", "rb") as fl:
return self.putfo(fl, Destinationpath, file_size, callback, confirm)
Labels:
- Labels:
-
DBFS