Hi,
At one time, I needed to be able to submit a URL to a webserver via TCPOPEN etc. for a graphic image (jpeg) and save it as a file when it came back.
Someone on the list (Lance, maybe) showed me to use the following format
Entire_Page = RIGHT$(Entire_Page, LEN(Entire_Page) - INSTR(Entire_Page, "JPEG") - 7)
Where "Entire_Page" is the whole string returned by the server.
Now I'm trying to do the same with PNG files, but it is not working out so good -- they seem always to be invalid files.
Any thoughts?
Ken
At one time, I needed to be able to submit a URL to a webserver via TCPOPEN etc. for a graphic image (jpeg) and save it as a file when it came back.
Someone on the list (Lance, maybe) showed me to use the following format
Entire_Page = RIGHT$(Entire_Page, LEN(Entire_Page) - INSTR(Entire_Page, "JPEG") - 7)
Where "Entire_Page" is the whole string returned by the server.
Now I'm trying to do the same with PNG files, but it is not working out so good -- they seem always to be invalid files.
Any thoughts?
Ken
Comment