02-22-2006
Hi,
I know its a weird suggestion, but it is likely to work.
1) FTP the file back to unix machine from windows using ASCII mode
2) Now again FTP the file from unix to windows in BIN mode.
Gaurav
9 More Discussions You Might Find Interesting
1. 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
2. HP-UX
hi,
i figured why i need to boot in MMB,some of which are missing or corrupt LABEL (LIF labeL ,i guess) on the boot disk.
To explicitly corrupt this entry i think a simple dd will work.
ok let me elaborate this issue:
i need to check this functionality.
so i have one LVM boot disk
and one... (0 Replies)
Discussion started by: mxms755
0 Replies
3. Shell Programming and Scripting
Hi
Copying a file from Unix (Solaris) to a windows server using sftp. File arrives with carriage returns and line feeds screwed (binary file transfer). Is there a way to get these to copy properly without having to edit or messa about with the file on the windows side. I know with FTP you can... (4 Replies)
Discussion started by: billy_mega
4 Replies
4. Windows & DOS: Issues & Discussions
hello again all,
assume I can not log in to the windows installation, (maybe) because of a system file corruption or failure.. however, I do log in to the system using the windows CD with R (repair) mode, that is the command line prompt.
Is there a way in that command prompt to copy the files... (10 Replies)
Discussion started by: milhan
10 Replies
5. Shell Programming and Scripting
Hi Gurus,
I need to find out, if i have transferred a file from ftp thro bin mode or ascii mode. Say if i have a file called "dec.sh"( u shuld normally transfer thro ascii mode). How can i find out that dec.sh is tranferred from ftp server thro ascii mode or bin mode?
Any help would be... (9 Replies)
Discussion started by: Ashok_oct22
9 Replies
6. Shell Programming and Scripting
I am relatively new to this forum and Unix scripting.
ksh script:
part 1 :will call a PL\SQL program will create 3 CSV file at the unix directory.
part 2 : will sftp the files to the EFT server.
Once the EFT server receives these file , it will transfer them to a shared windows folders.
... (3 Replies)
Discussion started by: developerpa
3 Replies
7. Shell Programming and Scripting
curr_time=`date +%Y%m%d%H%M`
curr_date=`date +%Y%m%d`
zero=0
script_path="/home/wccuser1/wcc/Scripts/bulk_file_ftp"
file_dir="/home/wccuser1/wcc/Bulk_Files"
todays_file_count=`ls -ltr | grep $curr_date | awk '{print $9}' | wc -l`
todays_file=`ls -ltr | grep $curr_date | awk '{print $9}'`... (2 Replies)
Discussion started by: gagandeep
2 Replies
8. Shell Programming and Scripting
I am doing FTP from a server and getting below ERROR:WARNING! 16126 bare linefeeds received in ASCII mode
File may not have transferred correctly.
I looked into web and found that I may need to change the mode to binary, but when I do so the records are not in readable format...So need the file... (10 Replies)
Discussion started by: joshilalit2004
10 Replies
9. Shell Programming and Scripting
Hi All,
I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting?
Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies
LEARN ABOUT CENTOS
glutinitdisplaymode
UNTITLED
LOCAL UNTITLED
NAME
glutInitDisplayMode -- Set the window creation display mode.
LIBRARY
OpenGLUT - window
SYNOPSIS
#include <openglut.h>
void
glutInitDisplayMode(unsigned int displayMode);
PARAMETERS
displayMode Requested display mode bitmask.
DESCRIPTION
glutInitDisplayMode() allows you to control the mode for subsequent OpenGLUT windows.
Allowable displayMode is a combination of:
- GLUT_RGB
Red, green, blue framebuffer.
- GLUT_RGBA
Red, green, blue, alpha framebuffer.
- GLUT_INDEX
Indexed color framebuffer.
- GLUT_SINGLE
Single-buffered mode.
- GLUT_DOUBLE
Double-buffered mode.
- GLUT_ACCUM
Accumulation buffer.
- GLUT_ALPHA
Alpha channel.
- GLUT_DEPTH
Depth buffering.
- GLUT_STENCIL
Stencil buffering.
- GLUT_MULTISAMPLE
Multisampling mode. (not always available)
- GLUT_STEREO
Left and right framebuffers.
- GLUT_LUMINANCE
Greyscale color mode.
Additionally, the following experimental features are implemented:
- GLUT_OFFSCREEN
Offscreen windows are very much like onscreen windows that have been dragged off of the edge of the screen. The biggest issue is that off-
screen windows do not support subwindows. Other than that, onscreen windows that are dragged off of the edge may not store graphics that you
render (while GLUT_OFFSCREEN windows do), and there is no way to drag an offscreen window onscreen for user interaction.
- GLUT_BORDERLESS
Borderless windows are very experimental, and their precise behavior is not set in stone. See also glutCreateMenuWindow().
The following are defaults :
- GLUT_RGB
- GLUT_SINGLE
CAVEATS
Some display mode features were introduced by OpenGLUT.
Not all features or combinations of features are valid for all platforms.
There is no way to change the display mode of an open window.
BUGS
GLUT_OFFSCREEN windows do not work with nVidia cards/drivers. (Both Win32 and X11)
GLUT_BORDERLESS seems to vary by the window manager on X11, though twm (for example) performs very similarly to WIN32. But KDE's window
manager (for example) does not let you send keystrokes to borderless windows without OpenGLUT hacks.
SEE ALSO
glutCreateMenuWindow(3) glutInit(3) glutInitWindowSize(3) glutInitWindowPosition(3) glutInitDisplayString(3) glutSwapBuffers(3)
Epoch