anyone good with file from directory



  • I am trying to upload images

    I am using file from directory it uses . wildcard but I am not sure that is right.

    I need to upload my images in order - anyone know how to do this?

    Do I have to rename the image files?




  • administrators

    @webvend

    I need to upload my images in order - anyone know how to do this?

    First thing, that you want to do is use "File Search" and obtain list of strings, each string is one file path.

    I don't think that files in folder have something like order. I'm talking about OS, not BAS.
    If you need to order files, do it yourself. For example, rename them like this

    1.png
    2.png
    ...
    

    Finally, you need to sort them inside list obtained from "File Search", there is action "Sort" to do that.

    If you are posting in single thread, you can just use that list for posting(iterate over it with Foreach action) and post that file with browser.

    Do I have to rename the image files?

    There is another action to do that "Move File/Folder"