Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Send a file to my server using MFC

Send a file to my server using MFC

Scheduled Pinned Locked Moved C / C++ / MFC
c++sysadmintutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anderslundsgard
    wrote on last edited by
    #1

    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

    R D 2 Replies Last reply
    0
    • A anderslundsgard

      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

      R Offline
      R Offline
      Rory Solley
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • A anderslundsgard

        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

        D Offline
        D Offline
        darkbyte
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups