ecramer 0 Posted November 11, 2009 Report Share Posted November 11, 2009 I have compiled my bot but when I run the bot on another computer it comes up with error that it can not find the file I saved the list in. This is what I am trying to do scrape urls from some pages put urls in a list save the list to a file recall the file to a list call each url from list nav to each url scrape some info from each url to another list save the list to file recall file to list When I save the file on my computer of course it will not run the compiled bot without an error. My question, Is there a way around using the file method. The reason I saved the list to a file is so I could recall each individual keyword and Urls . Is there another way to get same results? Thank you Quote Link to post Share on other sites
hypex 2 Posted November 11, 2009 Report Share Posted November 11, 2009 are you saving and retrieving the files from the same directory path? Quote Link to post Share on other sites
ecramer 0 Posted November 11, 2009 Author Report Share Posted November 11, 2009 Yes I think I am. To clarify a little more is I am not sure how to make a file for the person running the compiled bot. what command would I use. Sorry I am new to this making a bot thing. Thank you for your help Quote Link to post Share on other sites
emp 2 Posted November 11, 2009 Report Share Posted November 11, 2009 OK.. what you want to do is remove the path reference to the file. Normally, when you choose a file, uBot will enter a full path like this: D:\Fake\AsIfIWouldTellYa\gmail.txt Of course, unless your client has the exact same setup, his system will not find the file there. What you can do is remove the path to only the file name remains: gmail.txt like this: http://content.screencast.com/users/emper/folders/Jing/media/a0a2dc23-590d-4e83-bd0f-300d12c606d8/2009-11-11_0830.png But then, make sure that the file sits in the EXACT folder that the compiled bot sits in, as that is where the system will be looking. Best, ::emp:: Quote Link to post Share on other sites
Seth Turin 223 Posted November 11, 2009 Report Share Posted November 11, 2009 one overlooked trick is to use the $documents constant. this will automatically return the path to anyone's documents folder. Quote Link to post Share on other sites
ecramer 0 Posted November 11, 2009 Author Report Share Posted November 11, 2009 Thank you everyone. It works great! eric 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.