How do you load a file in forced binary code?

13 replies
I'm trying to figure out an installation that requries a certain file to be loaded in forced binary code....what does this mean and where do I find instructions on how to do this?
#binary #code #file #forced #load
  • Profile picture of the author viane
    While uploading you can select the mode in the ftp client softwares. I think its what you mean right?
    {{ DiscussionBoard.errors[657207].message }}
    • Profile picture of the author Web Dummie
      Not exactly sure what I mean....

      Here's the exact instructions.

      VERY IMPORTANT !!!
      The following files must be uploaded in forced BINARY mode!
      a. All the files in the functions folder. (includes/functions/*)
      b. install.php
      c. All the files in the fonts folder. (includes/fonts/*)
      d. All the files in the ioncube folder. (Ioncube Version Only.)
      {{ DiscussionBoard.errors[657224].message }}
  • Profile picture of the author mywebwork
    Viane is correct.

    When you FTP you can be in either text or binary mode. Most modern FTP clients use an Auto mode which tries to determine the optimum mode for each file depending upon its extension.

    What your instructions are telling you is to turn off the Auto mode and manually "force" the mode to binary. This is probably to insure that the encoded files (your application uses ioncube) don't become corrupted during the FTP process, which is what would happen if they were sent in text mode.

    Bill
    {{ DiscussionBoard.errors[657519].message }}
    • Profile picture of the author Web Dummie
      Thanks you guys, pointed me in the right direction.

      Using Core FTP, would it have anything to do with encoding?
      {{ DiscussionBoard.errors[659973].message }}
  • Profile picture of the author Aronya
    Not familiar with that particular program, but look for an option like Transfer Type.
    {{ DiscussionBoard.errors[659999].message }}
  • Profile picture of the author mywebwork
    If you are using Core FTP LE (the free version) there are 3 icons on the top menu bar that all look like "pages". From left to right they are ASCII Mode, Binary Mode and Auto Mode.

    Just select Binary Mode when you upload these files and you should be all set.

    Bill
    {{ DiscussionBoard.errors[660434].message }}
    • Profile picture of the author Web Dummie
      BILL! BILL! HE'S OUR MAN!..... IF HE CAN'T DO IT, NO ONE CAN!



      Thanks for the direction Bill, it's always something that seems to be staring right at me!

      I will commence, let's see how far I get before something does not work.
      {{ DiscussionBoard.errors[660490].message }}
      • Profile picture of the author Web Dummie
        Need some more direction from you guys.

        I tried dumping the entire script file in the publichtml folder, but it did'nt really work.

        Checked the server to make sure all requirements are met, created a MySql database, user and added the user.....

        modified the config.php file to my site.....

        now I don't know where to put everything.
        {{ DiscussionBoard.errors[665814].message }}
  • Profile picture of the author mywebwork
    It would be helpful if we knew more about your script and its requirements. Were there any steps telling you to change permissions (CHMOD) of any files after you placed them on the server? Was the script intended to run at the root of your site, or was it supposed to be in its own directory?

    It also may be an issue with your hosting account not meeting some requirement that the script has, perhaps a PHP library that isn't installed. One quick way to see how the PHP is configured is to create a simple PHP file with the following:
    Code:
    <?php phpinfo(); ?>
    Save it as info.php and FTP it to the root of your domain (your public_html folder). Run it at http://yourdomain.com/info.php. It should display your current configuration.

    Bill
    {{ DiscussionBoard.errors[666020].message }}
    • Profile picture of the author Web Dummie
      There are 7 files that it instructs me to chmod to 777, 2 are optional.

      I'm assuming it needs to be in the root of the domain. It's an automotive script to list cars.

      Just changed the nameservers today so it's still bouncing back and forth between it's sedo parking lot and it's new home, so I'll get that php file loaded as soon as it comes back

      Checked with my host before I began, everything is good as far as the requirements. The instructions had me create a new database but did not designate specifically, so I assumed it's referring to MySql. Would there be something I needed to do in my cpanel regarding php?
      {{ DiscussionBoard.errors[666086].message }}
  • Profile picture of the author Web Dummie
    ok... got that loaded and see the details.

    I decided to go with the version set up for Zend and PHP5

    Zend Optimizer is enabled and the server is running php5.2.9

    As far as where to install it.... does not designate. It does say this though;

    If you do not know or are unsure of the correct file paths please run http://mydomain.com/paths.php in your browser after you upload the files and then set them in the config prior to running install.php

    These folders need to be chmoded to 777
    a.files
    b.license
    c.v_bimages
    d.v_images
    e.v_thumb
    {{ DiscussionBoard.errors[666164].message }}
  • Profile picture of the author Web Dummie
    If you'd be willing to take a look I'll pm you the info url
    {{ DiscussionBoard.errors[666170].message }}
    • Profile picture of the author mywebwork
      Originally Posted by Web Dummie View Post

      If you'd be willing to take a look I'll pm you the info url
      Sure, send me a PM

      Bill
      {{ DiscussionBoard.errors[666697].message }}

Trending Topics