02-27-2009
what's the error message?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi
i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies
2. Shell Programming and Scripting
Hi
i need to FTP files from windows to unix(sun) machine using script. what are the scripts commands i need to use to transfer files
Thanks (2 Replies)
Discussion started by: bmkreddy
2 Replies
3. Shell Programming and Scripting
Hello All,
Could someone help me out with this? I want to incorporate this into an existing script so the output of a SAS job can be ftp'd from our UNIX box to a directory on a drive in Windows environment. Can this be done with no extra third party software? We currently use Putty for copy... (2 Replies)
Discussion started by: Jose Miguel
2 Replies
4. Shell Programming and Scripting
Hi,
I m trying to connect/establish FTP from unix shell script to my PC.Below the script i have written
#!/bin/ksh
ftp -v -n ddcappip01.com << "EOF"
user Amit jason
bye
EOF
------------------------------ERROR--------------------------
but i m getting the below error for the... (4 Replies)
Discussion started by: ali560045
4 Replies
5. Shell Programming and Scripting
Hi All,
I have to write a PERL script in which I have to FTP results from UNIX to Windows Desktop.
How can I do this using PERL?
Thanks (1 Reply)
Discussion started by: kunal1514
1 Replies
6. Shell Programming and Scripting
Hi, I am new to this subject.....Can someone please help me out with the script...
unix usernm "sdhftst"
unix pwd "chsd13"
windows usernm "dfghtst"
windows pwd "chsd13"
path..../xxx/xxxxx/xxxxxx/xxxxxxx
please can u get me a script...its only one file to get ftp.
Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies
7. Shell Programming and Scripting
Hi,
Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting?
If so what command i need to use.
thanks in advance. (1 Reply)
Discussion started by: Shri123
1 Replies
8. Solaris
how to execute shell script present in unix machine remotely from windows?
I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros.
Thanks In Advance.
--Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies
9. IP Networking
hi, i want to write a shell script code which transfers files from a directory in unix server to a directory in a windows machine.. can any1 give me a sample code which uses ftp or sftp command..
thanks very much, (3 Replies)
Discussion started by: Little
3 Replies
10. Shell Programming and Scripting
hi,
i am using ftp command to transfer files from unix server to windows server using a web interface.
there is a shell script which is called by the web page which executes a ftp command which (ftp) tries to connect to the windows machine and asks for username and password.
so in order to... (6 Replies)
Discussion started by: Little
6 Replies
LEARN ABOUT HPUX
xgeterrordatabasetext
XGetErrorDatabaseText() XGetErrorDatabaseText()
Name
XGetErrorDatabaseText - obtain error messages from the error database.
Synopsis
XGetErrorDatabaseText(display, name, message,
default_string, buffer_return, length)
Display display;
char *name, *message;
char *default_string;
char *buffer_return;
int length;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
name Specifies the name of the application.
message Specifies the type of the error message. One of XProtoError, XlibMessage, or XRequest (see the "Description" section below).
default_string
Specifies the default error message.
buffer_return
Returns the error description. You allocate this memory.
length Specifies the size of the return buffer.
Description
XGetErrorDatabaseText() returns a message from the error message database. Given name and message as keys, XGetErrorDatabaseText() uses
the resource manager to look up a string and returns it in the buffer argument. Xlib uses this function internally to look up its error
messages. On a UNIX-based system, the error message database is usually /usr/lib/X11/XErrorDB.
The name argument should generally be the name of your application. The message argument should indicate which type of error message you
want. If the name and message are not in the Host Portable Character Encoding, then the result is implementation-dependent. Three prede-
fined message types are used by Xlib to report errors:
XProtoError The protocol error number is used as a string for the message argument.
XlibMessage These are the message strings that are used internally by Xlib.
XRequest For a core protocol request, the major request protocol number is used for the message argument. For an extension request, the
extension name (as given by InitExtension) followed by a period (.) and the minor request protocol number is used for the mes-
sage argument.
If no string is found in the error database, XGetErrorDatabaseText() returns the default_string that you specify to the buffer. The string
in buffer will be of length length. The default_string is assumed to be in the encoding of the current locale. The buffer_return text is
in the encoding of the current locale.
See Also
XDisplayName(), XGetErrorText(), XSetAfterFunction(), XSetErrorHandler(), XSetIOErrorHandler(), XSynchronize().
Xlib - Error Handling XGetErrorDatabaseText()