10-14-2008
you mean to say, eve if it is ftped in binary mode, it will be readable?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Here is what I did . . . . I FTP'd several *.pdf files from a web site to a UNIX server, and did not set the transfer mode to BIN, now Adobe thinks that the documents are corrupted. Is there a way to convert the *.pdf files to Binary so that Adobe can open them again. I would just re-download... (2 Replies)
Discussion started by: pc9456
2 Replies
2. UNIX for Advanced & Expert Users
Dear All,
Business Users are transfering ( FTP ) a CSV file into the IBM AIX box with transfer mode as ASCII. But I want to convert the CSV file from ASCII mode into binary mode, as my script expects file in binary mode.
Is it possible to do through Unix commands?
Thanks in Advance,
RK (1 Reply)
Discussion started by: srajeshmca
1 Replies
3. SCO
Here is what I did . . . . I FTP'd several *.dbf zipped files from a SCO 5.0.5 server to winXP machine, and did not set the transfer mode to BIN, now when i was uncompressing these files in SCO 5.0.5 , it was giving "Bad Decode Table error. Is there a way to convert the *.dbf.Z files to Binary so... (1 Reply)
Discussion started by: sameek1211
1 Replies
4. Shell Programming and Scripting
I want to verify the file is Binary or ascii file and accordingly I want to switch the program with ret code
ie 0 or success and 1 for failure
Can any one help me is this a correct syntex...i am getting error
#!/bin/ksh
$file filename
if
echo "ascii fie Found"
else
echo " binary... (6 Replies)
Discussion started by: u263066
6 Replies
5. UNIX for Dummies Questions & Answers
Hello all,
I am working with ftp servers in unix, and always I have to get and put files but I don't know exactly if I have to get or put them as an ascii or binary. Some files that I use are: .txt, .sav, .fmb, .pct, .sh, .ksh, .dat, .log.
Somebody can tell me what is the difference between... (2 Replies)
Discussion started by: Geller
2 Replies
6. Shell Programming and Scripting
Hi all,
I have been trying to convert a binary file to TEXT/ASCII file in linux/solaries.and commands like string are no good.Also i am not sure how the how output of the file looks like...
I am attaching the binary file as zip since i couldnt load it in its original form in the post incase... (1 Reply)
Discussion started by: pistachio
1 Replies
7. Shell Programming and Scripting
Hi,
I have got a library file, created by compiling C code. The file information with "file" command, gives it a "application/x-archive" type file. I want to extract the release string of my software from this file, so that i can know which version of C files were used to create the lib.
Can... (3 Replies)
Discussion started by: atulmt
3 Replies
8. Shell Programming and Scripting
what is the diff between ascii and binary file.
my understand is that..
ascii file - has only line feed - \n in it
where as
binary file - has both line feed and carriage return in it- \r\n
is that correct.
also,what is the ksh command to identify whether it is a binary or ascii... (1 Reply)
Discussion started by: billpeter3010
1 Replies
9. Solaris
I have a huge files in binary format
thanks to help me in finding a way to convert these files from Binary format to ASCII format. (0 Replies)
Discussion started by: PRINCESS_RORO
0 Replies
10. Solaris
Dears,
I need help to convert the binary file into ASCII format.
Actually we have CDRs which is generated by telecom switch at this is in ASN1 format or binary format, I need to convert those binary formatted file into ASCII format using Perl, or shell scripting.
Is there any way to solve... (3 Replies)
Discussion started by: PRINCESS_RORO
3 Replies
LEARN ABOUT DEBIAN
glgetprogrambinary
GLGETPROGRAMBINARY(3G) [FIXME: manual] GLGETPROGRAMBINARY(3G)
NAME
glGetProgramBinary - return a binary representation of a program object's compiled and linked executable source
C SPECIFICATION
void glGetProgramBinary(GLuint program, GLsizei bufsize, GLsizei *length, GLenum *binaryFormat, void *binary);
PARAMETERS
program
Specifies the name of a program object whose binary representation to retrieve.
bufSize
Specifies the size of the buffer whose address is given by binary.
length
Specifies the address of a variable to receive the number of bytes written into binary.
binaryFormat
Specifies the address of a variable to receive a token indicating the format of the binary data returned by the GL.
binary
Specifies the address an array into which the GL will return program's binary representation.
DESCRIPTION
glGetProgramBinary returns a binary representation of the compiled and linked executable for program into the array of bytes whose address
is specified in binary. The maximum number of bytes that may be written into binary is specified by bufSize. If the program binary is
greater in size than bufSize bytes, then an error is generated, otherwise the actual number of bytes written into binary is returned in the
variable whose address is given by length. If length is NULL, then no length is returned.
The format of the program binary written into binary is returned in the variable whose address is given by binaryFormat, and may be
implementation dependent. The binary produced by the GL may subsequently be returned to the GL by calling glProgramBinary(), with
binaryFormat and length set to the values returned by glGetProgramBinary, and passing the returned binary data in the binary parameter.
ERRORS
GL_INVALID_OPERATION is generated if bufSize is less than the size of GL_PROGRAM_BINARY_LENGTH for program.
GL_INVALID_OPERATION is generated if GL_LINK_STATUS for the program object is false.
ASSOCIATED GETS
glGetProgram() with argument GL_PROGRAM_BINARY_LENGTH
SEE ALSO
glGetProgram(), glProgramBinary()
COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication
License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
[FIXME: source] 05/30/2012 GLGETPROGRAMBINARY(3G)