Author | Topic: FTP Put method and binary mode | |
---|---|---|
Jose Adriano Baltieri | FTP Put method and binary mode on Wed, 20 Feb 2002 10:37:29 -0300 It seems to me that ftp put method assumes binary mode by default. At least this is the way files are being received by the server I'm connecting too. Is there a way to say : "I want text mode" ? Found no arguments for that... -- Obrigado/Thanks a Lot, Jose Adriano Baltieri Analista de Sistemas/Systems Analyst CPD - CENTRO / Data Processing Dept UNIMEP - Universidade Metodista de Piracicaba/ UNIMEP - Methodist University of Piracicaba PIRACICABA - SP - BRASIL Fone : 055 0 XX 19 3124-1858 (english spoken) Fax : 055 0 XX 19 3124-1898 (cx postal 42778) | |
HBruns | Re: FTP Put method and binary mode on Fri, 03 May 2002 16:24:55 +0200 :settransferMode(nMode) -> self This parameter controls how the transaction is performed. One #define constant from the ASINET.CH file must be used: FTP_TRANSFER_TYPE_ASCII Transfers the file using FTP ASCII, Type A, transfer method. Control and formatting data is converted to local equivalents FTP_TRANSFER_TYPE_BINARY Transfers the file using FTP Image, Type I, transfer method. The file is transferred exactly as it exists with no changes. This is the default transfer method. FTP_TRANSFER_TYPE_UNKNOWN *) File is transferred in binary mode mfg hartmut "Jose Adriano Baltieri" <jabaltie@unimep.br> schrieb im Newsbeitrag news:3C73A699.56F91F4D@unimep.br... > > It seems to me that ftp put method assumes binary mode by > default. > At least this is the way files are being received by the server > I'm connecting too. > > Is there a way to say : "I want text mode" ? > > Found no arguments for that... > -- > > > Obrigado/Thanks a Lot, > > Jose Adriano Baltieri > Analista de Sistemas/Systems Analyst > CPD - CENTRO / Data Processing Dept > UNIMEP - Universidade Metodista de > Piracicaba/ > UNIMEP - Methodist University of > Piracicaba > PIRACICABA - SP - BRASIL > Fone : 055 0 XX 19 3124-1858 (english > spoken) > Fax : 055 0 XX 19 3124-1898 (cx postal > 42778) > > | |
Jose Adriano Baltieri | Re: FTP Put method and binary mode on Thu, 09 May 2002 23:20:44 -0300 Mr HBruns : This is true once you're using 1.8. By the time I wrote this, this feature weren't available on 1.7... But, thanks anyway ! HBruns wrote: > :settransferMode(nMode) -> self > > This parameter controls how the transaction is performed. One #define > constant from the ASINET.CH file must be used: > FTP_TRANSFER_TYPE_ASCII Transfers the file using FTP ASCII, Type A, > transfer method. Control and formatting > data is converted to local equivalents > FTP_TRANSFER_TYPE_BINARY Transfers the file using FTP Image, Type I, > transfer method. The file is transferred exactly > as it exists with no changes. This is the default transfer method. > FTP_TRANSFER_TYPE_UNKNOWN *) File is transferred in binary mode > > mfg > hartmut > > "Jose Adriano Baltieri" <jabaltie@unimep.br> schrieb im Newsbeitrag > news:3C73A699.56F91F4D@unimep.br... > > > > It seems to me that ftp put method assumes binary mode by > > default. > > At least this is the way files are being received by the server > > I'm connecting too. > > > > Is there a way to say : "I want text mode" ? > > > > Found no arguments for that... > > -- > > > > > > Obrigado/Thanks a Lot, > > > > Jose Adriano Baltieri > > Analista de Sistemas/Systems Analyst > > CPD - CENTRO / Data Processing Dept > > UNIMEP - Universidade Metodista de > > Piracicaba/ > > UNIMEP - Methodist University of > > Piracicaba > > PIRACICABA - SP - BRASIL > > Fone : 055 0 XX 19 3124-1858 (english > > spoken) > > Fax : 055 0 XX 19 3124-1898 (cx postal > > 42778) > > > > -- Obrigado/Thanks a Lot, Jose Adriano Baltieri Analista de Sistemas/Systems Analyst CPD - CENTRO / Data Processing Dept UNIMEP - Universidade Metodista de Piracicaba/ UNIMEP - Methodist University of Piracicaba PIRACICABA - SP - BRASIL Fone : 055 0 XX 19 3124-1858 (english spoken) Fax : 055 0 XX 19 3124-1898 (cx postal 42778) |