If it doesn't work, please show the error message and the dialog between the
server and you app. You can also check the transfert using FtpTst sample
program which comes with ICS.


Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

----- Original Message ----- 
From: "Dave Coventry" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Thursday, March 13, 2008 12:50 PM
Subject: Re: [twsocket] Using 'PUT' to upload a file


> Well, can anyone see what's wrong with the following code that might
> be causing the problem?:
>
>
> DPath:='C:\Documents and Settings\dave\My Dociments\Files to upload';
>
> FtpClient1.LocalFileName :=
DPath+'\'+StringGrid1.Cells[1,StringGrid1.Row];
> showmessage(FTPClient1.LocalFileName);//<- Shows the correct filename
> and path...
> FtpClient1.PutAsync;
>
> If I can't solve this, I might write a kludge to run the windows ftp
> DOS program from within Delphi to use the 'PUT' directive with
> ShellExecute.
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to