Otts 4 Posted June 2, 2018 Report Share Posted June 2, 2018 hi, I am using my php script that contains my PHP my admin database tables. when this PHP script is ran, it will download the MYSQL database table. When I use the 'Download file' and run the node for http for the PHP script it works fine and downloads instantly. However when I compile the bot to .exe, it isn't even running the script. Can someone help please? Thanks Code:download file("https://XXX.XXX/refresh.php","C:\\Users\\GOAT\\Desktop\test.csv") Quote Link to post Share on other sites
Otts 4 Posted June 2, 2018 Author Report Share Posted June 2, 2018 I am using UBot 5.5 I believe Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 3, 2018 Report Share Posted June 3, 2018 If the file downloads automatically when you navigate, try to navigate then use the command: save downloaded file Quote Link to post Share on other sites
Otts 4 Posted June 5, 2018 Author Report Share Posted June 5, 2018 If the file downloads automatically when you navigate, try to navigate then use the command: save downloaded fileI managed to fix this. Thanks for your input. However I am sometimes getting errors when doing so, it will show an error on Excel stating 'This file is currently in used, please close this and try again' This error will cause the program to get stuck, how could I close this error?Regards Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 5, 2018 Report Share Posted June 5, 2018 I managed to fix this. Thanks for your input. However I am sometimes getting errors when doing so, it will show an error on Excel stating 'This file is currently in used, please close this and try again' This error will cause the program to get stuck, how could I close this error?Regards You may have to close Ubot first. 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.