[twsocket] ICS FTP+How to list server files?
Hello, I am trying to list the server files and get the filesize and date from the server but, I have no idea about how to list files :( Does ICS ftpclient support any directory listing?? or file listing if directory is already selected? If yes, I badly need to know how? -dan -- 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
Re: [twsocket] ICS FTP+How to list server files?
I am trying to list the server files and get the filesize and date from the server but, I have no idea about how to list files :( Does ICS ftpclient support any directory listing?? or file listing if directory is already selected? If yes, Of course ! I badly need to know how? Please read the Quick Reference which is the comments at the start of OverbyteIcsFtpCli.pas. Also have a look at OverbyteIcsFtpTst sample project. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) 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
Re: [twsocket] ICS FTP+How to list server files?
Francois PIETTE wrote: I am trying to list the server files and get the filesize and date from the server but, I have no idea about how to list files :( Does ICS ftpclient support any directory listing?? or file listing if directory is already selected? If yes, Of course ! I badly need to know how? Please read the Quick Reference which is the comments at the start of OverbyteIcsFtpCli.pas. Also have a look at OverbyteIcsFtpTst sample project. Also useful is a helper unit written by an (anonymous) ICS user a long time ago. Downloadable here: http://www.duodata.de/misc/delphi/FTPCommon.zip It has not yet been reworked to support both Delphi 2009 and the new UTF-8 capabilities of the ICS FTP client. -- Arno Garrels -- 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
Re: [twsocket] ICS FTP+How to list server files?
Well, I have checked all of them and still can't understand anything. All I need is just some simple examples about how things are supposed to work. Seems like there are no simple ways of just listing the server directory to listbox with the file size and timestamp. - dan - Original Message - From: Francois PIETTE francois.pie...@skynet.be To: ICS support mailing twsocket@elists.org Sent: Sunday, October 18, 2009 6:42 PM Subject: Re: [twsocket] ICS FTP+How to list server files? I am trying to list the server files and get the filesize and date from the server but, I have no idea about how to list files :( Does ICS ftpclient support any directory listing?? or file listing if directory is already selected? If yes, Of course ! I badly need to know how? Please read the Quick Reference which is the comments at the start of OverbyteIcsFtpCli.pas. Also have a look at OverbyteIcsFtpTst sample project. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) 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 -- 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
[twsocket] ftpSizeAsync, ftpDirAsync
Hello, Can some please be kind and explain how these things are supposed to be used? Where? In what conditions? a simple example? I am not a guru you know. How can I get directory content to an TListBox? I am getting nowhere with this. Just getting all time Component not ready. - dan -- 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
Re: [twsocket] ftpSizeAsync, ftpDirAsync
Hello, Can some please be kind and explain how these things are supposed to be used? Where? In what conditions? a simple example? I am not a guru you know. How can I get directory content to an TListBox? OverbyteIcsFtpTst shows that. -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) 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
Re: [twsocket] ftpSizeAsync, ftpDirAsync
Email me at je...@pl.net and I'll send you my FTP download module. However I just created it using the examples that you have already been pointed to. The key is the OnRequestDone event - took me a while to understand the async logic ;-) -- Jeff Cook Aspect Systems Ltd www.aspect.co.nz + The Cooks Oasis www.cookislandsoasis.com Phone: +682 28 213 Skype: jeffraro -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Signed SourceR Project Sent: Sunday, 18 October 2009 8:30 a.m. To: ICS support mailing Subject: [twsocket] ftpSizeAsync, ftpDirAsync Hello, Can some please be kind and explain how these things are supposed to be used? Where? In what conditions? a simple example? I am not a guru you know. How can I get directory content to an TListBox? I am getting nowhere with this. Just getting all time Component not ready. - dan -- 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
Re: [twsocket] ftpSizeAsync, ftpDirAsync
I understand the OnRequestDone part but I still don't know how to get the things done with it. Examples are too complicated. - Original Message - From: Jeff Cook je...@aspect.co.nz To: 'ICS support mailing' twsocket@elists.org Sent: Sunday, October 18, 2009 10:28 PM Subject: Re: [twsocket] ftpSizeAsync, ftpDirAsync Email me at je...@pl.net and I'll send you my FTP download module. However I just created it using the examples that you have already been pointed to. The key is the OnRequestDone event - took me a while to understand the async logic ;-) -- Jeff Cook Aspect Systems Ltd www.aspect.co.nz + The Cooks Oasis www.cookislandsoasis.com Phone: +682 28 213 Skype: jeffraro -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Signed SourceR Project Sent: Sunday, 18 October 2009 8:30 a.m. To: ICS support mailing Subject: [twsocket] ftpSizeAsync, ftpDirAsync Hello, Can some please be kind and explain how these things are supposed to be used? Where? In what conditions? a simple example? I am not a guru you know. How can I get directory content to an TListBox? I am getting nowhere with this. Just getting all time Component not ready. - dan -- 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 -- 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
Re: [twsocket] Latest change in OverbyteIcsMimeDec.p as (Bjørnar, Angus)
OverbyteIcsMimeDec.pas around line #2258 PFileName := DecodeMimeInlineValue (FDecodeW.FileName) ; PSubject := FDecodeW.Subject; {V7.18 Bjørnar} The subject should be IMO MIME inline decoded, shouldn't it? Probably, although since the subject does not apply to MIME parts I did not really understand the purpose of the change, but it was fully backward compatible g 1) It's my understanding that the subject shouldn't be a member of TPartInfos at all. When an attachment is of type message/rfc822 it would be nice to have the subject of the attached message in the partinfo-object. But the subject is not in the mime-part so I agree it does not make sense now unless the message is parsed to get the subject for the attached message. Regards Bjørnar -- 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