-
March 2nd, 2011, 11:58 AM
#1
Ftp in VC++
Apoligies if I have put this in the wrong forum but...
I am attempting to upload 2 files onto a server which I presume I will have to create, although I am not entirely sure on this part, and then download the files at the click of a button within my program.
I was wondering if any of you lovely people have done anything similar or would be able to point me in the right direction as to where I could find tutorials etc on how to do it.
Thanks for any help given
-
March 2nd, 2011, 03:45 PM
#2
Re: Ftp in VC++
This MFC class will be handy http://msdn.microsoft.com/en-us/libr...fk(VS.80).aspx
Regarding the server there are lot of free one's on the net. See for instance sourceforge http://sourceforge.net/search/?q=ftp+server
-
March 3rd, 2011, 05:03 PM
#3
Re: Ftp in VC++
Thanks SMA, I found the two links helpful but when asked for host I have no idea what to put in it to be honest
-
March 3rd, 2011, 05:59 PM
#4
Re: Ftp in VC++
You either put the hosts DNS name or its ip address. You will probably run the ftp server on the same machine as you're coding on so put 127.0.0.1 as host until you go 'live' with your application.
-
March 4th, 2011, 05:03 PM
#5
Re: Ftp in VC++
Thanks for the advice SMA, I have now just started a local server using 127.0.0.1, as for what I am needing it for can just be on the same machine
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|