Rolf Posted March 2, 2003 Share Posted March 2, 2003 Hello, when i download the zipped file and unkompress it on my computer i get files without linebreaks in it. I tried with differnet browsers - same result. :cry: Code is not readable while there are no breaks at the end of the line. Is there any ftp-site where i can do a download in ASCII Mode? Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted March 2, 2003 Share Posted March 2, 2003 It's not a browser problem. It's an editor problem. Different operating systems use different markings to indicate an end of line in a text file. DOS/Windows use two characters, sometimes noted "r" and "n". Unix/Linux use only one of these, "n". osCommerce uses the Unix convention. This is why some Windows editors (notepad comes to mind) are confused. They expect "rn" and get only "n". Use a so-called programming editor. They all understand the Unix convention. I use UltraEdit and PHPEdit, but there are many others. Christian Lescuyer Link to comment Share on other sites More sharing options...
Jaguar Posted March 2, 2003 Share Posted March 2, 2003 Another possiblity I just ran into this past weekend when doing development on a another machine (MAC G4) was that the FTP tool in this case Fetch was configured wrong. We also has some major issues with Dreamweaver MX on the FTP side of things. Once we changed the settings on the FTP tool we were able to see the code the proper way. Dreamweaver MX has a auto format feature that restores formatting. Try setting your FTP tool to ASCII mode rather than Binary mode. I like HomeSite or PHPEDit as an editor Loren The great thing about beating your head against the wall is that it feels SO GOOD when you stop! Link to comment Share on other sites More sharing options...
greree Posted March 2, 2003 Share Posted March 2, 2003 Also, try Wordpad instead of Notepad. Wordpad will format it correctly. Though you really should get a proper editor. Having line numbers on the left hand side makes things a lot easier. Link to comment Share on other sites More sharing options...
Rolf Posted March 2, 2003 Author Share Posted March 2, 2003 Thank you for this excellent hint! I?ll use phpedit now :lol: Link to comment Share on other sites More sharing options...
Christian Lescuyer Posted March 3, 2003 Share Posted March 3, 2003 There is a PHPEdit support list and a forum. Christian Lescuyer Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.