Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 06-03-2007, 12:06 PM   #9
antifreeze
Junior Member
 
Join Date: May 2007
Posts: 8
Default

OK, I've done some further testing and found what the problem might be.

After editing files in webBuilder, I used ANSI in 'pc format' to save files, which uses Windows CRLF line breaks. If I upload these php files directly in FlashFXP, they are automatically changed to acsii plain text (which changes the CRLF linebreaks to unix LF linebreaks).

However, regularly I zip up the whole local site and upload it. The zipping prevents the files I've edited from being converted into plain ascii. So on the server, most of the files have LF linebreaks, whilst the ones I've edited in webBuilder have CRLF linebreaks.

The problem, then, with subsequent editing is that FlashFXP doesn't seem to recognise CRLF linebreaks, whilst the cpanel filemanager on my server, and webBuilder do. This is why when I use webBuilder's own ftp capability the problem does not occur, but when FlashFXP opens the CRLF files (even in it's own internal editor), it inserts the 'extra' linebreaks.

The quick solution is simply to use the option in webBuilder to save as 'unix format', which uses LF linebreaks. This completely solves the issue for me and has no reprecussions for editing the local copy of my website either.

So, apologies; it appears that it is not a bug, but a simple deficiency in FlashFXP to recognise Windows linebreaks. I have no idea if it is an important enough issue for you to correct in a future version. I do know that many people running local copies of their website for development purposes have a similar workflow, so it might be useful to some people who are using Windows editors that are incapable of saving as unix format.

Thanks for your replies.
antifreeze is offline  
 

Tags
$sl3[linkclass_hilite], $sl3[postlink], download, files, upload


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:48 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)