You need to have a good reason to convert the images to base 64. Why not use jRDC2 and just send the images as blobs? Will work faster and better.
You can write the strings to a file and then send them with Job.PostFile. The file will not be loaded into memory. You might get memory problems in other places.
I suggest to change the server site script to support fileuploads and read the data from the file uploaded, convert the file to base64 on Serverside and store the value in DB then.
Generally speaking it is a mistake to put images into the db. You should store the filename in DB and the file itself on Disc (webspace).
I suggest to change the server site script to support fileuploads and read the data from the file uploaded, convert the file to base64 on Serverside and store the value in DB then.
Generally speaking it is a mistake to put images into the db. You should store the filename in DB and the file itself on Disc (webspace).