stever 10 Posted April 27, 2017 Report Share Posted April 27, 2017 I know this is a topic some people struggle with at first - I'm no exception. I'm trying to save an image file, but nothing I've tried seems to work when the script runs. Video here: https://sendvid.com/1nst957d I tried an alternative way which was to open the image file in the browser and save it from URL. This works a treat, but unfortunately when you compile the bot, if the browser window isn't visible, the image doesn't save properly. Only found this out after compiling. Since I want this to run without the browser, it's not an option. Unless someone knows another workaround. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted April 27, 2017 Report Share Posted April 27, 2017 Just scrape the full path of the image and then use the Download File command: http://wiki.ubotstudio.com/wiki/Download_File 1 Quote Link to post Share on other sites
stever 10 Posted April 28, 2017 Author Report Share Posted April 28, 2017 Just scrape the full path of the image and then use the Download File command: http://wiki.ubotstudio.com/wiki/Download_FileThanks - this works. I'm finding the file upload/download the hardest part of Ubot so far. Here's another example of a site where I can't get Ubot to upload anything:https://www.thexifer.net/#uploadHow do I upload an image file? Nothing works with any of the selectors I'm using. And when I click on the element in the Ubot browser, an error message comes up, which doesn't happen when you do the same thing outside of Ubot. Quote Link to post Share on other sites
stever 10 Posted April 29, 2017 Author Report Share Posted April 29, 2017 I'll answer my own question: works perfectly with Chrome 21 but not 49. Strange. 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.