Re: Very basic FTP question



Christoph Scheurer schreef:
Nicola Attico schrieb:
Hi,

I'm transferring a file from linux to windows
ftp server is on linux (Linux DEMO3 2.4.18-14 #1 Wed Sep 4 13:35:50
EDT 2002 i686) and I use ftp client on windows
My file is called test.txt and I put in it:

hello
world

If I transfer the file in BINARY mode on windows I get:

hello□world□

If I transfer the file in ASCII mode I get...

hello□world□

..exactly the same

If I understand correctly, the only purpose of ASCII transfer is to re-
interpret the newline character depending on the platform

So I assume that ASCII transfer is not working correctly

am I correct?
is it a bug?
how can I make it work?

For the moment, I'm solving the issue running the unix2dos utility on
my windows box

I hope this is the right place for this question, otherwise thanks to
redirect me

Ciao,

Nicola Attico

Running unix2dos to read textfiles on windows, that were written
under linux is the ONLY way. Unix ( and so also Linux ) use only a
Newline to mark the end of a line, while Windows needs a
Return+Newline on the end of a line.
It has NOTHING to do with which ftp-client or which ftp-mode a
textfile is transfered, the result will allways be the same.

Greets
Chris

Not true.

Using FileZila 2.2 on Windows and the standard FTP server from Debian Sarge gives:

using Binary transfer type:
hello□world□□

using ASCII transfer type:
hello
world

My advise is to try a different FTP client.

--
Max

Open Source is an ode to common sense
.



Relevant Pages

  • Re: Future of IT in Lebanon
    ... working knowledge of Indian programmers DNA, nor of their intuitive Java ... > So Longhorn is not an experiment and Linux is an experiment? ... another chapter in the Windows story, and the Microsoft marketing machine is ... > application opens, Check the about, it says Microsoft Visual Basic 6.3. ...
    (soc.culture.lebanon)
  • FTP DOWNLOAD! More than 6500 CRACKED SOFTWARE(CAD,CAE,CAM,ED
    ... Autodesk Architectural Desktop 2005 ... DASSAULT SYSTEMES CAA ENOVIA LCA V5R13 ... ALTAIR.OPTISTRUCT V5.1 for LINUX ... ANSYS V8.0 FOR WINDOWS ...
    (microsoft.public.dotnet.framework.adonet)
  • Linux for Senior Citizens
    ... Linux for Senior Citizens ... For such people, I believe, Windows really is a better option: ... The kernel manages all the hardware and also looks after all running ...
    (uk.people.silversurfers)
  • Re: Future of IT in Lebanon
    ... It's the same Linux code base. ... Microsoft Office on a Windows server, it will install and run fine, the main ...
    (soc.culture.lebanon)
  • Re: [SLE] Developing a Real Time Data System
    ... The KBasic License is valid for both operating systems: Windows and Linux. ... Modern BASIC language ... chapters learning about the programming language. ...
    (SuSE)