Re: Very basic FTP question
- From: Max <nomail@xxxxxx>
- Date: Thu, 12 Jul 2007 13:41:20 +0200
Christoph Scheurer schreef:
Nicola Attico schrieb:Hi,Running unix2dos to read textfiles on windows, that were written
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
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
.
- References:
- Very basic FTP question
- From: Nicola Attico
- Re: Very basic FTP question
- From: Christoph Scheurer
- Very basic FTP question
- Prev by Date: Re: Very basic FTP question
- Next by Date: Re: Very basic FTP question
- Previous by thread: Re: Very basic FTP question
- Next by thread: Re: Very basic FTP question
- Index(es):
Relevant Pages
|