View Single Post
Old 12-18-2013, 01:41 AM  
DJAndre
Junior Member
 
DJAndre's Avatar
 
Join Date: Mar 2004
Location: San Diego, CA
Posts: 12
Default

Something I'd like to point out.

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.

When I upload the php file using FLASHFXP from my PC to the server, I can still check the formatting on the server and it's still UNIX formatting for that file--plus if I open that file directly on the server, no blank spaces between the lines.

When I download the same file using FLASHFXP from the server to my PC, it then indicates as Macintosh as the formatting in Notepad++, which would be (my guess) the equivalent to the "Old Mac" formatting setting/option in Notepad++ (Preferences > New Document > Format).

So I assume that FlashFXP changes that formatting somehow?

Here is a Session LOG when I transfer such PHP file from the server to my PC:. (I X'd my username and login information to my site--to avoid hack attempts.)

Please let me now if you can suggest a fix? Thanks in advance.

Code:
FlashFXP 4.4.3 (build 2029)
Support Forums http://forum.flashfxp.com
Winsock 2.2 -- OpenSSL 1.0.1e 11 Feb 2013
[R] Connecting to XXXXXXXX -> IP=XXXXXXXXX PORT=21
[R] Connected to XXXXXXXXXXX
[R] 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
[R] 220-You are user number 1 of 46 allowed.
[R] 220-Local time is now 01:18. Server port: 21.
[R] 220-IPv6 connections are also welcome on this server.
[R] 220 You will be disconnected after 15 minutes of inactivity.
[R] USER XXXXXX
[R] 331 User XXXXXXXX OK. Password required
[R] PASS (hidden)
[R] 230 OK. Current restricted directory is /
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Extensions supported:
[R]  EPRT
[R]  IDLE
[R]  MDTM
[R]  SIZE
[R]  MFMT
[R]  REST STREAM
[R]  MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
[R]  MLSD
[R]  AUTH TLS
[R]  PBSZ
[R]  PROT
[R]  ESTA
[R]  PASV
[R]  EPSV
[R]  SPSV
[R]  ESTP
[R] 211 End.
[R] PWD
[R] 257 "/" is your current location
[R] CWD /public_html
[R] 250 OK. Current directory is /public_html
[R] PWD
[R] 257 "/public_html" is your current location
[R] Listening on PORT: 3571, Waiting for connection.
[R] PORT 192,168,1,108,13,243
[R] 200 PORT command successful
[R] MLSD
[R] 150 Connecting to port 2040
[R] 226-Options: -a -l 
[R] 226 56 matches total
[R] List Complete: 6 KB in 0.37 second (6.1 KB/s)
[R] CWD /public_html
[R] 250 OK. Current directory is /public_html
[R] PWD
[R] 257 "/public_html" is your current location
[R] Listening on PORT: 3572, Waiting for connection.
[R] PORT 192,168,1,108,13,244
[R] 200 PORT command successful
[R] MLSD
[R] 150 Connecting to port 2041
[R] 226-Options: -a -l 
[R] 226 56 matches total
[R] List Complete: 6 KB in 0.35 second (6.1 KB/s)
[R] PWD
[R] 257 "/public_html" is your current location
[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
[R] 150-Connecting to port 2042
[R] 150 6.0 kbytes to download
[R] 226-File successfully transferred
[R] 226 0.000 seconds (measured here), 55.45 Mbytes per second
Download: index.php 6 KB in 0.00 second (6.1 KB/s)
Transfer queue completed
Transferred 1 File (6 KB) in 0.43 second (6.1 KB/s)
__________________
My System Info:

App: FlashFXP 4.4.3 (build 2029) [registered]
OS: WinXP Pro
Router: Linksys WRT54G build 5
Firewall: COMODO
Anti-Virus: AVAST
Network: Broadband
ISP: cox.net
DJAndre is offline