Opened 14 years ago
Closed 14 years ago
#4712 closed Bug report (rejected)
Extra Lines when transferring in ASCII mode
|Reported by:||purpleturnip||Owned by:|
|Keywords:||extra lines line ascii binary transfer||Cc:|
|Component version:||Operating system type:||Windows|
|Operating system version:||Vista|
When I transfer PHP or HTML files, it defaults to ASCII mode and adds a new line after each line. This happens on both the download and the upload. If I switch to Binary mode, there are no problems but sometimes ALL the new lines disappear and the whole file is in one line.
Compiled for: i586-pc-mingw32msvc
Compiled on: x86_64-unknown-linux-gnu
Build date: 2009-07-02
Compiled with: i586-mingw32msvc-gcc (GCC) 4.2.1-sjlj (mingw32-2)
Compiler flags: -g -O2 -Wall -g -fexceptions
Change History (1)
comment:1 by , 14 years ago
|Status:||new → closed|
This only happens if the file is not saved in the native format on either client's machine or if the server disobeys the FTP specifications.
Make sure all files on your system use CRLF line endings and that your server properly converts to/from his own native line endings.