The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: mikky on November 30, 2010, 07:31:07 AM

Title: sending a file via ftp
Post by: mikky on November 30, 2010, 07:31:07 AM
hi.
how can i send a file via ftp from within my program (providing of course the ftp host, user name and pass)?

thank you very much
Title: Re: sending a file via ftp
Post by: japheth on November 30, 2010, 08:01:05 AM

Basically, using the Win32 API, there are 2 ways:

- via WinSockets - this is the hard way, but you'll learn a lot
- via WinINet, FtpPutFile() function - easy and lame