Writing to a file with CInternetSession
-
I am currently downloading a file from the web and checking info from it. CStdioFile *remotefile; CInternetSession mysession; remotefile = mysession.OpenURL (csUrl,1,INTERNET_FLAG_TRANSFER_BINARY|INTERNET_FLAG_RELOAD); if(!remotefile) return 0; My question is can i write to the file that i just opened and save it back on the web server. If this doesn't work is there another method if i want to write to a file over the web? Scott
-
I am currently downloading a file from the web and checking info from it. CStdioFile *remotefile; CInternetSession mysession; remotefile = mysession.OpenURL (csUrl,1,INTERNET_FLAG_TRANSFER_BINARY|INTERNET_FLAG_RELOAD); if(!remotefile) return 0; My question is can i write to the file that i just opened and save it back on the web server. If this doesn't work is there another method if i want to write to a file over the web? Scott