More on Delphi Examples - WeOnlyDo Discussion board

More on Delphi Examples (General questions)

by Bret, Monday, September 12, 2005, 16:42 (7011 days ago)

I'm Still having problems with PutFile command.

Guess I just don't get the RemotePath parameter.

below is what I am trying to do... Please give example code that will work.

FTP.RemotePath := '';
FTP.PutFile('c:cmw.log','.');

//SO FAR SO GOOD....

FTP.RemotePath := 'outgoing';
FTP.PutFile('c:copytojst.bat','.');

//The above Put method fails. Please give a working example that should work putting the file into the outgoing directory.
//I've tried multiple combinations... no success.



Complete thread: