Link to home
Start Free TrialLog in
Avatar of campid
campid

asked on

FtpPutFile api Function

Please can someone show me how to use the FtpPutFile api Function.

Here is the doc on it: http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/wininet/reference/functions/FtpPutFile.asp


I've tried the following but it fails.
FtpPutFile(nil, 'D:\localfile.htm, 'ftp://username:pass@ftp.domain/remotefile.htm', 0, 0);

Cheer Ian
ASKER CERTIFIED SOLUTION
Avatar of bugroger
bugroger

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of campid
campid

ASKER

cheers for that, looks like i need to connect to the server before issuing that command.

The http one i was using did everything in one, which was why I thought this would..

cheers

ian

oh do you know of any good delphi api resources or where to get hold of the uncompiled delphi include files so I only have to compiled versions.