uploading php files in ascii ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
redmike
Junior Member
Junior Member
Posts: 13
Joined: 2003-09-28, 08:37 UTC
Location: tel aviv
Contact:

uploading php files in ascii ?

Post by *redmike »

Hi,

how do I upload php files in ascii ?

I have to upload gif files in binary but I imagine that if I select the gif files and choose binary in the dropdown window that that should be OK ?

thanks for the help,

Mike
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Automatic is fine

Post by *Clo »

2redmike
:) Hello !
- You can choose "Automatic" in the FTP extra-interface. Use the combobox at up-left.
- So, each file-type shall be transfered in the right mode.
- With a click on the "Automatic" line, you'll get a small box, in the field of which you can add (space)*.php after the last type of text-files.

:mrgreen: Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
redmike
Junior Member
Junior Member
Posts: 13
Joined: 2003-09-28, 08:37 UTC
Location: tel aviv
Contact:

Re: Automatic is fine

Post by *redmike »

Clo wrote:2redmike
:) Hello !
- You can choose "Automatic" in the FTP extra-interface. Use the combobox at up-left.
- So, each file-type shall be transfered in the right mode.
- With a click on the "Automatic" line, you'll get a small box, in the field of which you can add (space)*.php after the last type of text-files.

:mrgreen: Kind regards,
Claude
Clo
thank you,

Mike

P.S. I have "send me an email when someone answers a post" checked in my profile but it didn't work - my email does :-)
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

OT : only you can test---

Post by *Clo »

2redmike
O.T.
:) Hello Mike !
P.S. I have "send me an email when someone answers a post" checked in my profile but it didn't work - my email does :)
- The forum software has been upgraded into phpBB 2.0.10 very recently… Maybe there is a small bug ?
- You may report this to the Author, though he reads the threads : supportATghislerDOTcom
since you are the one able to test then… ;)

:mrgreen: Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Re: uploading php files in ascii ?

Post by *Sheepdog »

redmike wrote:Hi,

how do I upload php files in ascii ?

I have to upload gif files in binary but I imagine that if I select the gif files and choose binary in the dropdown window that that should be OK ?

thanks for the help,

Mike
The difference is the handling of the end of lines of a text file. Some OS use the linefeed only, some use linfeed plus carriage return some only carriage return. So if you use 'txt-file' for uploading TC finds out how the server would handle the end of line and convert the textfile (e.g. remove the carriage return from window files to save them on unix systems) . If you choose 'binary' TC would leave the file as it is - regardles if it is text or not.
So the 'Text' -option should work for php too. Setting to binary may produce unexpected errors.


sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply