Re: [twsocket] RE2: FTPClient Get-Command-Problem on UNIX-Server

2005-03-29 Thread Mice Cage
Is this then the right way?

Delphi7-Code:

FtpClient1.HostName   := HostNameEdit.Text;
FtpClient1.Port   := PortEdit.Text;
FtpClient1.UserName   := UserNameEdit.Text;
FtpClient1.Password   := PasswordEdit.Text;
FtpClient1.HostDirName:= HostDirEdit.Text;
FtpClient1.HostFileName   := HostFileEdit.Text;
FtpClient1.LocalFileName  := LocalFileEdit.Text;
FtpClient1.Passive:= passivecheck.checked;
FtpClient1.Binary := true;
   {FtpClient1.Binary := binary.checked;}

Ftpclient1.connect;
ftpclient1.cwd;
FtpClient1.TypeSet;
ftpclient1.get;
FtpClient1.Quit;

I know that Indy is easier, but FTPCLI is much better in my tool and more
stable.

THX for all Your help. I know that the truth is out there ;)

... hope we find it ...


 Mice Cage wrote:
  THX for Your reply. The problem is that I tried everything. I used Your
  FTPTest Sample (Ftptst.dpr). I used Binary and without Binary. Also Sync
  and Async. Same
  result.
 
 I think you haven't read down to the end of Francois' message.
 
  call the method TypeSet to send the type you want to the server
 
 Never mind you are not alone, I guess most FtpCli-beginners think it's
 just setting a property, including myself :)
 
 Regards,
 
 Arno Garrels 
 
 
  Now speaking programming, you need to set the Binary property to TRUE or
  FALSE and call the method
  TypeSet to send the type you want to the server (translation is done by
  the server), before you do
  the actual transfert. By default, FTP protocol specifies a text
 transfert
  (Binary is FALSE).
  
  --
  Handyrechnung zu hoch? Tipp: SMS und MMS mit GMX
  Seien Sie so frei: Alle Infos unter http://www.gmx.net/de/go/freesms
  
  --
  Handyrechnung zu hoch? Tipp: SMS und MMS mit GMX
  Seien Sie so frei: Alle Infos unter http://www.gmx.net/de/go/freesms
 
 -- 
 To unsubscribe or change your settings for TWSocket mailing list
 please goto http://www.elists.org/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 

-- 
Handyrechnung zu hoch? Tipp: SMS und MMS mit GMX
Seien Sie so frei: Alle Infos unter http://www.gmx.net/de/go/freesms

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


Re: [twsocket] SmtpCli problem with OnAttachContentType

2005-03-29 Thread Arno Garrels
Bevan Edwards wrote:

 I have just discovered a problem with the OnAttachContentType
 implementation in TSmtpCli and TSyncSmtpCli.
 
 When this property is assigned, as soon as InitUUEncode is called within
   TriggerGetData, the assignment to FOnAttachContentType is lost.

Try current ICS release, SmtpProt.pas has been updated/changed/fixed
since that time when InitUUEncode was renamed.


Regards,

Arno Garrels


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


Re: [twsocket] SmtpCli problem with OnAttachContentType

2005-03-29 Thread Bevan Edwards
Hi Arno,
I have just discovered a problem with the OnAttachContentType
implementation in TSmtpCli and TSyncSmtpCli.
When this property is assigned, as soon as InitUUEncode is called within
 TriggerGetData, the assignment to FOnAttachContentType is lost.

Try current ICS release, SmtpProt.pas has been updated/changed/fixed
since that time when InitUUEncode was renamed.
Thanks for that, it worked perfectly! :)
Regards,
Bevan Edwards
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FTPClient UNIX-Server - How to setup binary mode? - isthis the right way?

2005-03-29 Thread Arno Garrels
Mice Cage wrote:
 I know now that I have to use the Typeset-Command.
 I hope I placed it now at the right place:

ftpclient1.cwd;
{}FtpClient1.TypeSet;

Yes.

Arno Garrels

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


Re: [twsocket] RE2: FTPClient Get-Command-Problem on UNIX-Server

2005-03-29 Thread Francois PIETTE
 Is this then the right way?

Looks good.
--
[EMAIL PROTECTED]
http://www.overbyte.be


- Original Message - 
From: Mice Cage [EMAIL PROTECTED]
To: ICS support mailing twsocket@elists.org
Sent: Tuesday, March 29, 2005 4:42 PM
Subject: Re: [twsocket] RE2: FTPClient Get-Command-Problem on UNIX-Server


 Is this then the right way?
 
 Delphi7-Code:
 
 FtpClient1.HostName   := HostNameEdit.Text;
 FtpClient1.Port   := PortEdit.Text;
 FtpClient1.UserName   := UserNameEdit.Text;
 FtpClient1.Password   := PasswordEdit.Text;
 FtpClient1.HostDirName:= HostDirEdit.Text;
 FtpClient1.HostFileName   := HostFileEdit.Text;
 FtpClient1.LocalFileName  := LocalFileEdit.Text;
 FtpClient1.Passive:= passivecheck.checked;
 FtpClient1.Binary := true;
{FtpClient1.Binary := binary.checked;}
 
 Ftpclient1.connect;
 ftpclient1.cwd;
 FtpClient1.TypeSet;
 ftpclient1.get;
 FtpClient1.Quit;


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