Go Back   FlashFXP Forums > FlashFXP > General Discussions


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

Reply
 
Thread Tools Rate Thread
Old 11-04-2011, 08:41 PM   #1
Junior Member
 
Join Date: Sep 2010
Posts: 26
Default New Line Caracter after upload

I have created file with Notepad++ in ANSI encoding and end of line caracter for UNIX/LINUX then i save it and close and reopen settings are still same encoding is ANSI and EOL is UNIX.

After i upload it to FTP trough FlashFXP v4.1.4 and download it back it opens as enc is ANSI and EOL is Dos\Windows. I wonder if you can tell me if this flash fxp's thing or server (CentOS 5.5) and how to fix it?

It does not seems like FlashFXP setting for caracter encoding does any difference tot his process, because its not encoding is wrong, but line breaks.
MrVon is offline   Reply With Quote
Old 11-05-2011, 01:11 AM   #2
Super Duper
FlashFXP Beta Tester
 
MxxCon's Avatar
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,742
Default

tell flashfxp to transfer your file as binary. that will prevent this windows/unix end of line conversion.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is online now   Reply With Quote
Old 11-05-2011, 08:03 PM   #3
Junior Member
 
Join Date: Sep 2010
Posts: 26
Default

This solves one problem with the lines yet adds another with the encoding if i use ANSI or "UTF-8 without BOM" it turns to ISO 8859-1.
MrVon is offline   Reply With Quote
Old 11-05-2011, 10:29 PM   #4
Super Duper
FlashFXP Beta Tester
 
MxxCon's Avatar
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,742
Default

if you transfer a file as binary, flashfxp does not touch its content. if you see some conversion going on, perhaps your server is doing that.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is online now   Reply With Quote
Old 11-07-2011, 04:03 PM   #5
Junior Member
 
Join Date: Sep 2010
Posts: 26
Default

Got it will check. By the way changing transfer mode requires FlashFXP restart.

Is there any advantage of using ASCII mode why they even have it there?
MrVon is offline   Reply With Quote
Old 11-07-2011, 06:43 PM   #6
FlashFXP Developer
FlashFXP Administrator
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 7,093
Default

If you want to edit the file in a standard windows text editor that doesn't natively support UNIX text formatted files then you'll need to use ASCII mode to convert the file from UNIX text mode to DOS text mode.

If you use a text editor such as notepad++ then you don't have to worry too much about using ASCII mode provided you edit the file in the correct text mode. In notepad++ you can convert between DOS and UNIX text mode. Some configuration files on UNIX servers must be saved UNIX text mode so you need to make sure the file is in the right format before saving it.

Changing the global default transfer mode does require a restart. I see that this is missing from the help file, I will add this information, thank you.
bigstar is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 09:32 PM.