upload image to server

Hello,
I am trying to upload an image to a server out of Touch. I searched the forum, but haven’t had much luck. I am looking into maybe doing the following: TOP> Top to Chop> Chop to Dat> Web Dat, and sending the data as a byte array, but this seems really inefficient. Is there a better way to do this?

Ideally I would just upload a jpg to a server, then send a message for the server to check the folder, but i’m stumped as to how I can acomplish this.

Thanks!

You may consider saving out the TOP to disk using either the opsave command (tscript) or TOP.save() (python)
From there you could continue using a script to setup the form the web DAT would submit to the server.
Hope that helps,
Rob.