Jump to content
UBot Underground

Uploading image files to sites..


Recommended Posts

I have a folder on my computer. It's called /photos

 

I have many images in this folder.

 

My bot creates blogs.

 

I want my bot to go through the images in this folder and upload one image per blog site.

 

Each image can only be used on one site and can only be used once.

 

How do I go through a folder systematically like this?

 

I can do this very easily when I'm working with a .txt list but I'm not sure how to do it when it comes to files within folders instead of just lines within a .txt file..

 

Thanks!

Link to post
Share on other sites

Here is how you can tackle this issue

 

Just add all images paths to a list.

 

All images in the folder should be in the order that you want to use them; then when posting just use next list item.

 

See an example below:

 

add list to list(%blogimages, $get files("path of your images folder here", "Yes"), "Delete", "Global")
change file field(<element of upload button here>, $next list item(%blogimages))

Link to post
Share on other sites

Here is how you can tackle this issue

 

Just add all images paths to a list.

 

All images in the folder should be in the order that you want to use them; then when posting just use next list item.

 

See an example below:

 

add list to list(%blogimages, $get files("path of your images folder here", "Yes"), "Delete", "Global")
change file field(<element of upload button here>, $next list item(%blogimages))

 

 

Or... you could get the list from your computer, upload the image using the path in position 0, then delete that item from the list and and re-save the new list to your computer.

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

haha, it was a great fix - but 'this is not allowed with you current version of the software' - lol ubot is such a joke.. I mean WTF? I get mult-threading being for advanced and dev but just a bloody add files command? pfffff...

Link to post
Share on other sites

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...