Send a file to my server using MFC
-
I want to send a file on e.g. C:\Temp\myFile.txt To my webserver at for e.g. www.cundes.se/filefolder/ Any tip on how to do it in an easy way? Thanks _____________________________ ...and justice for all APe
-
I want to send a file on e.g. C:\Temp\myFile.txt To my webserver at for e.g. www.cundes.se/filefolder/ Any tip on how to do it in an easy way? Thanks _____________________________ ...and justice for all APe
use FTP? The WinInet library (wininet.lib) has a comprehensive set of functions to do just that (see MSDN). You will have to run a FTP server on your server box though - you can either use IIS or a dedicated application such as Bulletproof FTP.
-
I want to send a file on e.g. C:\Temp\myFile.txt To my webserver at for e.g. www.cundes.se/filefolder/ Any tip on how to do it in an easy way? Thanks _____________________________ ...and justice for all APe
Well, You would have to learn WEBDAV, assuming that this html extension is installed on your server and useable by the web server. Otherwise, you'll have to do it using FTP or get a listener on the webserver. If its not your own server (i.e.: like a free web server on the net) then you might need to be imaginative. For example, if they have a web interface to update pages, then you make a web page browser/form filler/etc .. so that it does the work for you. But its a time consuming process.