Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions files/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ The output confirms the presence of the file:
## Downloading Files
Finally, we can download a file using the syntax:
```python
t.files.getContents(system_id=<system_id>,
t.files.getContents(systemId='<system_id>',
path='/some/remote/file.txt')
```

For example,
```python
t.files.getContents(system_id='stampede2.jstubbs-2',
t.files.getContents(systemId='stampede2.jstubbs',
path="/work2/01837/jstubbs/stampede2/hello-tapis.ipynb")
```
Note that the function returns the file contents as a raw bytes object.