View Single Post
Old 12-18-2013, 08:51 AM  
MxxCon
Super Duper
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

Quote:
Originally Posted by DJAndre View Post
The original php file on my computer is formatted as UNIX--that's what it states at the bottom of Notepad++. Plus when I create such files myself, that is the formatting I always select.
So that's the problem.
FlashFXP assumes that local text files are formatted with Windows newline char.
Quote:
Originally Posted by DJAndre View Post
So I assume that FlashFXP changes that formatting somehow?
Code:
[R] TYPE A
[R] 200 TYPE is now ASCII
[R] PORT 192,168,1,108,13,245
[R] 200 PORT command successful
[R] RETR index.php
TYPE A is a command that tell server a server transfer will be of a text file and to adjust newline characters.
Since your files already match newline chars of the destination server, such files should be transferred unchanged using "IMAGE" mode.
There 2 ways of doing that.
Either in preferences you can change it from Auto to Binary. But that means all files will always be transferred unchanged. Even the ones that should be converted.
Or if your .php files are always in UNIX format but you are not sure about other text files, go to 'Options' menu, 'Filters', and remove extensions of the files stored in UNIX format.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is online now