-
1. Re: transfering files in binary or ASCII mode
pziecina Jun 10, 2011 6:13 AM (in response to thersher)Hi
and some files need to be transferred in ASCII mode and some in binary mode
Everything on the internet, (even on your computer) is in binary, it is the software/app that translates this to ascii.
If you question is about uploading the files to the server then it does not matter what the file extension is, but to help further more information would be required.
e.g. are you trying to upload and execute an exe. file or similar?
PZ
-
2. Re: transfering files in binary or ASCII mode
thersher Jun 10, 2011 6:22 AM (in response to pziecina)I'm uploading shopping cart files. They are requesting that some be uploaded in binary mode and some in ASCII mode. Here's an example of what the instructions say:
Second, transfer the ‘CartConfig’ subdirectory and its contents. The ‘Cart-
Config’ subdirectory contains several image files which appear on the
Administrator's main menu, as well as several HTML files. The graphics
files, which end in “.gif”, must be transferred in binary mode. The HTML
files, javascript files (those ending in “.js”), and the cascading style sheets
(those ending in “.css”) must be transferred in ASCII mode.
Third, transfer the ‘cart.html’ file to your Web server’s root directory in
ASCII mode.It also asked that four .cgi files be uploaded in binary mode.
Does this help?
-
3. Re: transfering files in binary or ASCII mode
MurraySummers Jun 10, 2011 6:46 AM (in response to thersher)DW will transfer files in the mode that is implied by their extension. Normally, HTML and other scripting files are transferred as ASCII. What is the extension of the files you are wanting to go in binary mode?
-
4. Re: transfering files in binary or ASCII mode
pziecina Jun 10, 2011 6:51 AM (in response to thersher)Hi
They are talking rubbish in the example given.
Basically any html/css/javascript/php/sql-statement and many others are written in ascii, whereas a video/image/audio/exe file are in binary, (as series of 0 or 1 bit) when created, as I said all files are in the end in binary but the software that is used by you, or your server is what translates them to or back-to the required format for us mere mortals.
Transfer the files as normal, (via ftp) but I would advise checking on any support that you may require in using the software, (your shopping cart) because the distinction being made by the cart suppliers, could point to a lack of understanding by them. Many years ago, (in the days of 'blue screen' bulletin boards, (pre web) the distinction was made because of the required 'headers' that must be sent with the file transfer, but this is not required with such files any more as it is handled by the software.
Your doctype and associated info is an example of a 'header'.
PZ



