Binary mode and Chmod HELP !!!!

Discussion in 'Programming' started by nim3, Jan 20, 2009.

  1. #1
    Hello,

    Im in the process of making a website.

    Part of the instructions tell me to:

    "Upload all files to binary mode in your server. Chmod files "license_builder.dat" and "config_builder.php" to 777."

    How do I do this??????

    Thanks

    nim3
     
    nim3, Jan 20, 2009 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    binary mode I dont know what means but for chmod use FIlezilla ftp client and right click a file to set perms 777
     
    crivion, Jan 20, 2009 IP
  3. NinjaWork

    NinjaWork Guest

    Messages:
    132
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    check google...for example, with CuteFTP see here
     
    NinjaWork, Jan 20, 2009 IP
  4. mywebwork

    mywebwork Guest

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Aloha nim3

    With FTP there are two file transfer modes - text and binary. As the name would imply Text mode is just for text files, whereas Binary mode is what you would use to transfer anything else (i.e. executable files, PHP files etc) .

    If you use FTP from the command line you need to specify which mode you are transferring with, if you try and transfer an executable file using Text mode the file will get corrupted during the transfer and will be unusable.

    Most modern GUI-based FTP programs will determine the transfer mode correctly so you probably don't need to worry about this anyway.

    "CHMOD" is a LINUX\UNIX command that allows you to set file permissions. File permissions are often expressed as a number, in your case 777 is the number that grants all users all rights on the file. Most modern FTP programs can do this by right-clicking teh file and choosing "permissions" or "CHMOD".

    Hope this helps

    Bill
     
    mywebwork, Jan 20, 2009 IP
  5. red_mamba

    red_mamba Peon

    Messages:
    63
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    in linux that would be
    chmod 777 yourfile

    some FTP clients all so let you change permissions of files
     
    red_mamba, Jan 20, 2009 IP
  6. nim3

    nim3 Notable Member

    Messages:
    1,318
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    205
    #6
    Thanks guys thats sorted it, managed to do it using SmartFTP
     
    nim3, Jan 21, 2009 IP
  7. goldhosting

    goldhosting Peon

    Messages:
    75
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Just download absolute ftp, and then upload the files. the program will ask if you want to upload in binary mode. else you can click the binary mode button in the program. after that, right click the files 1 for 1 and chose chmod from the right click menu. then write the chmod value in the pop up.

    tada, and your done :-P
     
    goldhosting, Jan 21, 2009 IP