Board index » delphi » Problem in FTP of Indy9
Peer Liu
![]() Delphi Developer |
Wed, 05 Oct 2005 00:57:06 GMT
|
Peer Liu
![]() Delphi Developer |
Wed, 05 Oct 2005 00:57:06 GMT
Problem in FTP of Indy9
Hi all,
I got a problem while use IdFTP component to get binary file from a SUN Does anyone here know about this issue? Thanks in advance. Peer |
Martin Jame
![]() Delphi Developer |
Fri, 07 Oct 2005 23:35:57 GMT
Re:Problem in FTP of Indy9QuotePeer Liu <peer_...@hotmail.com> wrote in message Quote> Hi all, came back as 0. My FTP app worked fine with HP & other FTP servers, but not SUN. Some Team-B person wanted a directory listing to as to possibly On the other hand, if I ignored the returned file size & transferred Wierd. Rgds, |
J Peter Mugaa
![]() Delphi Developer |
Sat, 08 Oct 2005 05:50:46 GMT
Re:Problem in FTP of Indy9On Mon, 21 Apr 2003 16:35:57 +0100, "Martin James" Quote<mjames_fal...@dial.pipex.com> wrote: I always thaught Sun Soloris was simply a Unix operating system and There has been a backport of the Unix parser in Indy 10 to Indy in our J. Peter Mugaas - Chairperson, Distribution Team, Indy Pit Crew |
Peer L
![]() Delphi Developer |
Sat, 08 Oct 2005 14:15:48 GMT
Re:Problem in FTP of Indy9"Peer Liu" <peer_...@hotmail.com> D????D??? :3ea02...@newsgroups.borland.com... Quote> Hi all, I think so. For example, if you get a text file from Solaris system, and if you set the transfer mode of TIdFTP to be ftBinary, you will also find the Indy will automatiaclly add char '$0D' before every char '$0A', because text file with UNIX style has only char '$0A' at the end of every line. I think this feature is used for format conversion between UNIX and Windows. Does anybody know how to disable it? |
Chad Z. Hower aka Kudz
![]() Delphi Developer |
Sat, 08 Oct 2005 22:45:29 GMT
Re:Problem in FTP of Indy9"Peer Lu" <qch1...@email.mot.com> wrote in news:3ea4e2bd@newsgroups.borland.com: Quote> Is it a problem of Indy? does it in text mode. Its up to the server to make the changes. Quote> For example, if you get a text file from Solaris system, and if you set -- Want more Indy stuff? Try the Atozed Indy Portal at ELKNews - Get your free copy at http://www.atozedsoftware.com |
Bas Gooije
![]() Delphi Developer |
Mon, 10 Oct 2005 23:26:13 GMT
Re:Problem in FTP of Indy9there was an issue in indy 9, when loging in manually ( with .login ) are you loging in manually? Bas Quote"Peer Liu" <peer_...@hotmail.com> wrote in message | Hi all, | | I got a problem while use IdFTP component to get binary file from a SUN | solrias 2.5 server. I found if the file contains char '$0A', which means | 'new line descriptor', the IDFTP will automatically add char '$0D' before | every '$0A', even I have set the tranferType to be 'ftBinary'. | | Does anyone here know about this issue? | | Thanks in advance. | | Peer | | |
Peer Li
![]() Delphi Developer |
Tue, 11 Oct 2005 21:45:18 GMT
Re:Problem in FTP of Indy9No, I log server by providing username and password to Indy. "Bas Gooijen" <bas_gooi...@yahoo.com> D????D??? Quote> there was an issue in indy 9, when loging in manually ( with .login ) |
Peer Li
![]() Delphi Developer |
Tue, 11 Oct 2005 21:50:34 GMT
Re:Problem in FTP of Indy9Bas Gooijen, Sorry, I first connect to server without login, then call .login to Quote> No, I log server by providing username and password to Indy. |
Peer Li
![]() Delphi Developer |
Tue, 11 Oct 2005 22:02:27 GMT
Re:Problem in FTP of Indy9You mean it's the sever (SUN OS) that make these changes, but I tried to get same file by using windows ftp command, it's fine, no any change was made. And I use TIDTelnet component in my program to get a text file from same For a text file, it's acceptable to add a control char like '$0d', but not Hope more comments. Peer Liu "Chad Z. Hower aka Kudzu" <c...@hower.org> D????D??? Quote> "Peer Lu" <qch1...@email.mot.com> wrote in |
Chad Z. Hower aka Kudz
![]() Delphi Developer |
Wed, 12 Oct 2005 12:12:39 GMT
Re:Problem in FTP of Indy9"Peer Liu" <peer_...@hotmail.com> wrote in news:3ea93ff1@newsgroups.borland.com: Quote> You mean it's the sever (SUN OS) that make these changes, but I tried to Quote> get same file by using windows ftp command, it's fine, no any change was anything. Quote> And I use TIDTelnet component in my program to get a text file from same might format it for Windows - I'd have to look. Quote> For a text file, it's acceptable to add a control char like '$0d', but -- Want to keep up to date with Indy? Join Indy News - it free! http://www.atozedsoftware.com/indy/news/ ELKNews - Get your free copy at http://www.atozedsoftware.com |
Bas Gooije
![]() Delphi Developer |
Wed, 12 Oct 2005 06:40:29 GMT
Re:Problem in FTP of Indy9Because there was a bug when doing that, the bug caused all files to be transferred in ASCII mode. the changed file can be found on the vcs or here: Bas Quote"Peer Liu" <peer_...@hotmail.com> wrote in message | Bas Gooijen, | | Sorry, I first connect to server without login, then call .login to | authenticate, Would you pls tell me why? | Thanks. |
Peer Li
![]() Delphi Developer |
Wed, 12 Oct 2005 13:55:17 GMT
Re:Problem in FTP of Indy9Hi, Bas Thank you very much. It works fine. Peer "Bas Gooijen" <bas_gooi...@yahoo.com> D????D??? Quote> Because there was a bug when doing that, the bug caused all files to be |
1. EIdReadTimeout reading mail using Indy9 from indy90@ftp.nevrona.com
2. Error List index out of bounds in IdMessage using Indy9 from indy90@ftp.nevrona.com/
3. Indy9 (FTP location) installation Delphi60 doesnt work
4. BCB6 and Indy9 - installation problem
5. Installation problems (Indy9 to D5)
7. Indy9 Thread Timeout Problem