NYCPHP Meetup

NYPHP.org

[nycphp-talk] FTPing PHP scripts.

PaulCheung paulcheung at tiscali.co.uk
Sat Feb 16 15:32:25 EST 2008


I like to thank everybody for the suggestions.

As suggested I checked for hidden binary characters everything checked out 
OK.

The solution to the problem is to use
BINARY together with FTP PORT 21 or 22 (if one port does not work, try the 
other)

Paul

----- Original Message ----- 
From: "Michael Southwell" <michael.southwell at nyphp.com>
To: <talk at lists.nyphp.org>
Sent: Wednesday, February 06, 2008 3:31 PM
Subject: Re: [nycphp-talk] FTPing PHP scripts.


> Quoting PaulCheung <paulcheung at tiscali.co.uk>:
>
>> I don't know if anybody else has been having a problem when trying to
>> FTP PHP scripts. I am using "1and1" to host my website and have
>> uploaded  PHP scripts All have uploaded. Unfortunately some scripts are
>> loaded correctly and other arrive as 0 length.
>
> You may have some binary character hiding at the beginning of your
> script. Delete the first line or two and try again. If that works,
> recreate what you deleted and try again. Alternatively, look at your
> script in some editor that will show every character rather than just  the
> alphanumeric ones.
>
>
> -- 
> Michael Southwell
> Vice President, Education
> NYPHP TRAINING http://nyphp.com/training/indepth
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php




More information about the talk mailing list