Jump to content
UBot Underground

If File Exists


Recommended Posts

Anyone know of a way to check if a file exists on your computer, else create it with UBot.

Something like: if file not found, then create it.

 

I can have UBot create a new file, but when appending to that file, all the data is erased

on the next run of the script. If I manually create the file, I can append to it all day long.

Link to post
Share on other sites

I dont know if that is possible.

 

But when I want to keep appending to a file I dont clear the list.

 

If you are running a completely new run where the list is gone just make a new list with the data in the existing file. Then it will continue on with the list and when you save it will appear like it was appended.

 

Or does that not work for what you are trying to do?

Link to post
Share on other sites

I can append to a file that's already there, it's just that if I was to give the bot away,

the end user would have to manually create the file that was going to be appended to.

Link to post
Share on other sites
  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...