473,394 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

extra newline characters when ftp'ing php scripts

I just used FileZilla (on windows) to download a site for testing in IE,
and it seems a couple of newline characters are added to all the php
scripts.

This isn't much of a problem until I get to my AJAX stuff, where I have
to include a couple of scripts before setting the xml content-type header.

All the scripts are also double-spaced, which I suspect is the same
issue Anyone seen this?
Nov 15 '06 #1
3 1805
Maybe try downloading in binary mode instead of ascii? The Transfer ->
Transfer Type -Binary option might help.

Matthew Crouch wrote:
I just used FileZilla (on windows) to download a site for testing in IE,
and it seems a couple of newline characters are added to all the php
scripts.

This isn't much of a problem until I get to my AJAX stuff, where I have
to include a couple of scripts before setting the xml content-type header.

All the scripts are also double-spaced, which I suspect is the same
issue Anyone seen this?
Nov 15 '06 #2
You might try viewing it in a diff editor too if that's the problem.

peters...@gmail.com wrote:
Maybe try downloading in binary mode instead of ascii? The Transfer ->
Transfer Type -Binary option might help.

Matthew Crouch wrote:
I just used FileZilla (on windows) to download a site for testing in IE,
and it seems a couple of newline characters are added to all the php
scripts.

This isn't much of a problem until I get to my AJAX stuff, where I have
to include a couple of scripts before setting the xml content-type header.

All the scripts are also double-spaced, which I suspect is the same
issue Anyone seen this?
Nov 15 '06 #3
Matthew Crouch wrote:
I just used FileZilla (on windows) to download a site for testing in IE,
and it seems a couple of newline characters are added to all the php
scripts.

This isn't much of a problem until I get to my AJAX stuff, where I have
to include a couple of scripts before setting the xml content-type header.

All the scripts are also double-spaced, which I suspect is the same
issue Anyone seen this?
Matthew,

This isn't a PHP problem. Rather, you should be looking in the
FileZilla support forums on SourceForge.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Nov 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: xxx | last post by:
Hello, My php-script makes directories and puts files in it. But via FTP'ing, I can't delete those files anymore. Also, I need to put a whole bunch of existing files into these, 'made-by-php'...
7
by: Limey Drink | last post by:
Hi all, Firstly :-) , is there any where I can search through archived newsgroup posts so I am not cluttering up the newsgroup with repeated queries ? And secondly :-), I know this has...
15
by: Nicolai Pedersen | last post by:
I have a problem validating a simple piece of XHTML containing danish characters. Trying to validate the following piece of XHTML gives the error mentioned beneath. If I remove the first line (the...
8
by: Daniel Bass | last post by:
Hey, There's a client requirement to have my application send some files to another server on the same network through FTP. All I need to do is connect to the provided server and port, with...
4
by: Jon Weston | last post by:
Hi all. I'm trying to use the Internet Transfer Control in an Access03 database to upload a file using FTP. It's not giving me any errors but is completely failing to upload the file. Here's the...
5
by: AlunDavies | last post by:
Hi, I'm working on a system that recurses through a given directory, ftp-ing all the contents up to our FTP server. I've got the recursion bit working fine, but whenever I try to upload a file I...
4
by: Nicolas R | last post by:
Hi all, Im trying to figure out how to display a 'loading' message when scripts are being executed, ie when the page is still not ready for interaction. This is for a web app which relies on...
1
by: Cirene | last post by:
Using VB.NET (latest version) I want to log onto an FTP server and check for the existance of 10 files in 3 different directories. I would prefer to do this over 1 live connection. Anyone have...
7
by: =?Utf-8?B?SmFzb24=?= | last post by:
Hello, can someone please suggest to me how I can keep my ftp connection from timing out after a large file download? I am using SSIS and I have tried multiple ways of ftp'ing the files in my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.