ftp question

Moderators: Moderator, Global Moderator

Post Reply
Tami
Administrator
Administrator
Posts: 10892
Joined: Sun Apr 25, 2004 1:05 pm

ftp question

Post by Tami »

3. FTP to your Web Site and create a directory named Chess.

4. Upload all .php files to the Chess directory using ASCII transfer.

5. Create a subdirectory named Images under your Chess directory.

6. Upload all image files to the Images subdirectory using BINARY transfer.

How come this script asks for the two different upload formats? Does auto-detect in the ftp automatically switch formats or do I have to do that manually?
Image

[color=\"#41211C\"]It takes years to build up trust and only seconds to destroy it

[/color]
Scott
Administrator
Administrator
Posts: 1651
Joined: Sun Apr 25, 2004 1:08 pm

ftp question

Post by Scott »

As long as the files aren\'t encoded then you can use auto transfer.
NightStorm
Administrator
Administrator
Posts: 779
Joined: Mon May 17, 2004 4:05 pm

ftp question

Post by NightStorm »

The server is set to, by default, request all files in ascii by default, but will on its own recognise any standard image files as requiring binary.
Essentially, you should never have to worry about the \"automatic detection\", unless you are uploading something with a real screwed up extension (psd files will need to be manually set, just for the record).
[align=center]Image



[gamertag]NightStormDraco[/gamertag]

[twitter]NightStormDraco[/twitter]

[/align]
Tami
Administrator
Administrator
Posts: 10892
Joined: Sun Apr 25, 2004 1:05 pm

ftp question

Post by Tami »

My ftp client has an auto detect setting; I watched it while I was uploading the new skin for the cms and it did change back & forth all by itself. I\'d never noticed it before, and that chess script is the only one I\'ve seen that actually specifies what format to upload the files in, other than cgi scripts-so I was just curious as to why /biggrin.gif\' class=\'bbc_emoticon\' alt=\':D\' />
Image

[color=\"#41211C\"]It takes years to build up trust and only seconds to destroy it

[/color]
Post Reply

Return to “Uber Coffee Room”