Ask coding questions

← Back to all posts
How to use a file with webbot
susthebus

I want to make webbot go to a website and download a file, and then be able to save it in the files section so it can modify it. is there any way for me to do this? It doesn't have to be using webbot as long as it works.

Voters
susthebus
Comments
hotnewtop
SixBeeps

There are a ton of ways to go about doing this. One way you could do it is with curl. If you have the direct link to the thing you want to download, you can run curl https://link.to/the/file.txt --output ~/file.txt to download it.

susthebus

@SixBeeps would this download text or an actual file?