B4R Question ESP32cam IMAGE from CAM to server with FTP

petr4ppc

Well-Known Member
Licensed User
Longtime User
Dear friends, please for help,

I want ask before I start new project,
is here some example of proven project for ESP32cam where is possible take picture and upload this picture to server with FTP?

Best,
p4ppc
 

hatzisn

Expert
Licensed User
Longtime User
Yes (but not upload with FTP). Search for it in the search section of the forum or with google in this site. What you will notice (as I did) is that ESP32CAM does not show logs in B4R. The way to bypass this problem can be found in my signature in my contributions in B4R libraries.
 
Upvote 0

petr4ppc

Well-Known Member
Licensed User
Longtime User
Yes (but not upload with FTP). Search for it in the search section of the forum or with google in this site. What you will notice (as I did) is that ESP32CAM does not show logs in B4R. The way to bypass this problem can be found in my signature in my contributions in B4R libraries.
HATZISN, thank you for your answer,

please, it does it mean that with ESP32cam it si not possible to upload image to server via FTP?

Best regards
p4ppc
 
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
No, it only means that the project in the Forum does not upload to an FTP Server. Actually, to be absolutely honest, I am not sure if anyone has implemented an FTP client in B4R...
 
Upvote 0

derez

Expert
Licensed User
Longtime User
I have few esp32cam at home, used for security. I use a b4j app on a pc , showing the image from the cam on a webview and storing it in the hard disk. From there anything can be done with b4j app, for example:
B4X:
Sub take_pic
    wv.LoadUrl("http://xxxxxxxxxxxxxxx/1200x800.jpg")
End Sub

Private Sub wv_PageFinished (Url As String)
    Dim drive As Int = count/2000
    Dim Out As OutputStream = File.Openoutput("F:\esp3\" & drive , count & ".png", False)
    wv.Snapshot.WriteToStream(Out)
    Out.Close

    Sleep(800)
    take_pic
End Sub
 
Upvote 0

petr4ppc

Well-Known Member
Licensed User
Longtime User
Thank you for your advices DEREZ, HATZISN
If you or somebody will know about something (some good first steps) what help me with integrating FTP to ESP32cam, please very much let me know...

Best regards
p4ppc
 
Upvote 0
Top