Skip to content
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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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