View Full Version : Editing annoyance
steen
02-06-2004, 11:51 PM
Hello,
I have this problem with FXP when editing php and html.
When I edit it while in FXP (without downloading) sometimes it like "formats" the html/php.
It is a super annoyance!
What it does is turns this:
<html>
<head>
<title>MY Homepage</title>
</head>
<Body>
BlahBlah
<br><br>
Blaaa
</body>
</html>
Into:
<html><head><title>MY Homepage</title></head><Body>BlahBlah<br><br>Blaaa</body></html>
Ie. everything gets puched together.
This makes hell for future editing of HTML and worse, it messes up any php :(
Any suggestions?
Thank you for your time,
Steen.:o
steen
02-06-2004, 11:58 PM
Forgot to say
I am on Win XP editing with Notepad.
FXP: 2.1 build 924
Thanks again!;)
MxxCon
02-07-2004, 12:03 AM
are those files being uploaded as binary or ascii?
steen
02-07-2004, 03:20 AM
Thanks for the reply.
It is always on Auto.
I dont choose one or the other or else I wll forget to change it for the dif file types :rolleyes:
Shark
02-07-2004, 04:04 AM
Can you paste the log, so we can work it out then..
bigstar
02-07-2004, 08:02 AM
If you're seeing this problem with notepad then mostly the file is being downloaded in binary mode. You might have better results using the internal editor. ultimately you really need to transfer text files in ascii mode, most often if they're sent in binary mode php, cgi, etc have trouble reading the files and you get unexpected results from your web server.
steen
02-07-2004, 03:04 PM
Originally posted by bigstar
If you're seeing this problem with notepad then mostly the file is being downloaded in binary mode. You might have better results using the internal editor. ultimately you really need to transfer text files in ascii mode, most often if they're sent in binary mode php, cgi, etc have trouble reading the files and you get unexpected results from your web server.
Thank you.
One quick Q.
How do I set them all to the internal editor?
I like that one better, but I cannot find the program in my computer. The only .exe program in the FXP directory is flashfxp itself :confused:
Thank you.
bigstar
02-08-2004, 10:25 AM
in FlashFXP > Options > File Associations
Add the file masks and select "Internal Editor" as the editor.
Did you ever verify if the files were being uploaded in ascii or binary mode? it's very important that you find out.
steen
02-08-2004, 05:57 PM
Originally posted by bigstar
in FlashFXP > Options > File Associations
Add the file masks and select "Internal Editor" as the editor.
Did you ever verify if the files were being uploaded in ascii or binary mode? it's very important that you find out.
How do I check which mode files are being Xfered in?
Are you talking about uploads or downloads?
Thx.
bigstar
02-08-2004, 09:03 PM
The transfer mode is displayed in the status window, if you're unsure then paste your status log and we can tell you.
steen
02-08-2004, 09:13 PM
I forgot to note a few things, sorry.
First off, when I make file association changes now and before, it uses the windows settings not the FXP settings :(
That is why all my html and php opens in Notepad :(
Secondly, I dont think its the Xfer mode myself.
What is happeing (it only happens maybe every 6th time and more often when I change the window size :confused: ) is it gets all squished together excactly when I click "save"
I finish editing in notepad, click the X and it asks me to save, I click save and at that moment, I see it all get squished together.
Thanks again! :o
bigstar
02-09-2004, 09:15 AM
I still think the files are being sent in the wrong transfer mode. Perhaps by doing that the file format is slightly corrupted and that's what you get this unsual behavior with notepad.
Check the file association pattern, they should be *.php and *.html
steen
02-09-2004, 06:02 PM
Originally posted by bigstar
I still think the files are being sent in the wrong transfer mode. Perhaps by doing that the file format is slightly corrupted and that's what you get this unsual behavior with notepad.
Check the file association pattern, they should be *.php and *.html
Does this look right?
bigstar
02-09-2004, 10:16 PM
Nope i'm afraid not, you need to add *. in front of each file extension.
*.html
*.htm
*.php
steen
02-10-2004, 01:34 AM
Originally posted by bigstar
Nope i'm afraid not, you need to add *. in front of each file extension.
*.html
*.htm
*.php
Thank you,
it works!
I hope this will end my crunching problem :)
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2025, vBulletin Solutions, Inc.