Announcement

Collapse
No announcement yet.

Firefly 8S delete file from browser

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Firefly 8S delete file from browser

    Hi,

    is it possible to delete files from browsers?

    thank you all

  • #2
    Hi,

    I think that's possible but some JavaScript code probably will be needed in order to connect to a socket for recieving a token (start session = '257') and running the file erasing command (it should be '1281').
    Donate here if you want to support my efforts and this site.

    Email me if you have any offers, requests or ideas.

    Comment


    • #3
      Thanks for the reply
      some code examples?

      Comment


      • #4
        Hello,
        I read this post
        https://www.goprawn.com/forum/ambare...api-thieye-t5e
        and the commands "/usr/bin/SendToRTOS record" and "/usr/bin/SendToRTOS photo" work.
        Anyone know all the RTOS commands?

        Comment


        • nutsey
          nutsey commented
          Editing a comment
          Here is the full list for the 8S cam:
          boot_done
          net_ready
          net_off
          photo
          record
          bt_ready
          bt_parit_ok
          bt_parit_error
          up_btn
          down_btn
          ok_btn
          reset_conf
          bt_conn
          bt_disconn

      • #5
        Thank you very much nutsey!
        now I have to study a little

        Comment


        • #6
          Hi,
          is it possible to create a script to delete all the files?
          Thanks

          Comment


          • nutsey
            nutsey commented
            Editing a comment
            Hi,
            As far as I know there is no 'delete all' command available, but you can format the memory card.

        • #7
          how can I do?

          Comment


          • #8
            I tried this, but it doesn't work

            autoexec.ash

            #wait until boot
            sleep 5
            #set debug mode
            format
            #return to normal mode
            t app test chg_app 1

            help me please

            Comment


            • nutsey
              nutsey commented
              Editing a comment
              You can use
              'cleandir c:\AMBA *'
              command to delete all media files.

            • nutsey
              nutsey commented
              Editing a comment
              'format' command syntax:
              format [drive] [param]
              [param]: FAT12|FAT16|FAT32|UDF|udf|MS_FULL|MS_QUICK|ll1|ll2 |ll3|DVD-RAM|DVD-SINGLE|DVD-MULTI,SPC=<num>,BS=<num>

              So something like 'format c: FAT32' should work if the command above is not enough and you need to destroy all sd card data.

          • #9
            cleandir c:\AMBA
            does not work



            autoexec.ash

            #wait until boot
            sleep 5
            #set debug mode
            cleandir c:\AMBA
            #return to normal mode
            t app test chg_app 1


            Comment


            • nutsey
              nutsey commented
              Editing a comment
              You forgot *

          • #10
            ops..
            Adesso funziona!
            Sei il numero 1
            Grazie

            Comment


            • #11
              Ciao a tutti, sono riuscito ad ottenere quello che volevo posto qui la mia app, magari a qualcuno può interessare. Tenete conto che non sono un programmatore....
              Attached Files

              Comment

              Working...
              X