Skip to content

Extending contentCreate() to fetch files from remote URL#19

Open
rohanrc1997 wants to merge 1 commit intoflint-bot:masterfrom
rohanrc1997:patch-1
Open

Extending contentCreate() to fetch files from remote URL#19
rohanrc1997 wants to merge 1 commit intoflint-bot:masterfrom
rohanrc1997:patch-1

Conversation

@rohanrc1997
Copy link

@rohanrc1997 rohanrc1997 commented Feb 8, 2019

contentCreate() by default, only supports local file paths in order to create a file object which can be sent as a message in sparky bot. Using request and buffer libraries, a new functionality has been added that enables us to create File Objects from a remote URL path, which should come very handy to directly send the files without ever needing to perform disk operations of any kind, at the server end.

contentCreate by default, only supports local file paths in order to create a file object which can be sent as a message in sparky bot. Using request and buffer libraries, a new functionality has been added that enables us to create File Objects can from a remote URL path, which should come very handy to directly send the files without ever needing to perform disk operations (reads/writes) of any kjnd.
@nmarus nmarus self-assigned this Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants