06-26-2014
Control it from Connect Direct.
Using sysops in process to execute your program after the transfer is completed.
OR
In connect direct process, rename the file after transfer is completed (mv is atomic if on same filesystem), to a name your program expects.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Which command in unix can tell whether a file is being used/written by another process.
e.g. If one process is copying a very big file in some directory and there is another cronjob process which checks for a new file and in this directory and process the file. I want to check, if the... (4 Replies)
Discussion started by: sanjay92
4 Replies
2. UNIX for Dummies Questions & Answers
UNIX Sun Ultra60 5.5.1
Hello everybody, I have a problem that seems simple but turns out to be complex (for me at least). My program needs to open a directory (this part is easy), scan each filename and determine whether or not a file with the suffix (.07) exists. So the program would return... (5 Replies)
Discussion started by: j_t_kim
5 Replies
3. Programming
PROGRAM A <-> PROGRAM B
PROGRAM A sends data as STDIN ro PROGRAM B and when PROGRAM B is executed from PROGRAM A, it sends output back to PROGRAM A. This is implemented using 2 pipes (fd1 & fd2).
The above process happens in a loop and during the second run, the previous data that had been... (10 Replies)
Discussion started by: vvaidyan
10 Replies
4. Shell Programming and Scripting
Hi folks,
I am using a shell script to display the referred libraries names of any specified cpp code. Given below is the script:
shell script "grblib"
-------------------------------------------------------------------------
#!/bin/sh
# get the lines having "include" pattern
... (5 Replies)
Discussion started by: frozensmilz
5 Replies
5. Shell Programming and Scripting
i have this script which works fine but shows errors when it runs..these are more like warnings and the script runs fine.. i am on a sun machine.. i know it writes all the error messages to a master log file.. is there any way i can turn off these warnings/error messages and prevent them from being... (2 Replies)
Discussion started by: npatwardhan
2 Replies
6. Linux
Folks,
I have some program(Test.cpp) as follows,
#include<iostream>
class Abc
{
private:
int _theVar;
public :
int printVar();
};
int Abc :: printVar()
{
_theVar=10;
}
main()
{
Abc _t; (0 Replies)
Discussion started by: vinod_chitrali
0 Replies
7. Programming
Folks,
I have some program(Test.cpp) as follows,
#include<iostream>
class Abc
{
private:
int _theVar;
public :
int printVar();
};
int Abc :: printVar()
{
_theVar=10;
}
main()
{
Abc _t; (2 Replies)
Discussion started by: vinod_chitrali
2 Replies
8. Shell Programming and Scripting
Hi!
#!/usr/bin/env bash
rm tmpcomm
nc -v -u -l 444 | hexdump -b > tmpcomm
while :
do
read l1 < tmpcomm
read l2 < tmpcomm
read l3 < tmpcomm
read l4 < tmpcomm
# do something
doneI start netcat in the background and listen for an incoming conncetion. All incoming... (1 Reply)
Discussion started by: torax123
1 Replies
9. Programming
I am reading arguments passed to a C++ program which accepts long options.
Long options start with '--', with the value joined with the option by an = sign, with no intervening spaces.
An example is as follows:
programName --vdz=15.0
I want to store 'vdz' in variable 'key', whereas... (4 Replies)
Discussion started by: kristinu
4 Replies
10. Programming
Subject: Debugging a program written in two languages
Platform: Linux (Kubuntu)
I am trying to debug a C application with bindings to some simple functions written in Ada using the GNAT Programming Studio IDE (GPS). The main entry point is in C. The debugger is gdb.
I managed to compile... (0 Replies)
Discussion started by: NiGHTS
0 Replies
LEARN ABOUT REDHAT
xmtransferdone
XmTransferDone(library call) XmTransferDone(library call)
NAME
XmTransferDone -- A toolkit function that completes a data transfer
SYNOPSIS
#include <Xm/Xm.h>
void XmTransferDone(
XtPointer transfer_id,
XmTransferStatus status);
DESCRIPTION
XmTransferDone completes an already-initiated data transfer operation. An application can call this routine from an XmNdestinationCallback
procedure or any function called as a result, including the selection procedures called as a result of calls to XmTransferValue.
The caller of XmTransferDone supplies an identifier for the transfer operation and an indication of the completion status. XmTransferDone
causes any remaining transfers for the operation to be discarded.
transfer_id
Specifies a unique indentifier for the data transfer operation. The value must be the same as the value of the transfer_id mem-
ber of the XmDestinationCallbackStruct passed to the XmNdestinationCallback procedure.
status Specifies the completion status of the data transfer. Following are the possible values:
XmTRANSFER_DONE_SUCCEED
The transfer was completed successfully. This status has the following additional effects:
o For a move operation, the selection owner receives a request to convert the selection to the DELETE target.
o If a TRANSACT operation is in progress, the owner receives a request to commit the transaction.
o If a PERSIST or _MOTIF_SNAPSHOT operation is in progress, the owner receives a notification that the operation is
finished.
o The widget class destination procedure is not called.
XmTRANSFER_DONE_FAIL
The transfer was completed unsuccessfully. This status has the following additional effects:
o For a move operation, the selection owner does not receive a request to convert the selection to the DELETE tar-
get.
o For a drag and drop operation, the DropTransfer's XmNtransferStatus is set to XmTRANSFER_FAILURE.
o If a TRANSACT operation is in progress, the owner receives a request to abort the transaction.
o If a PERSIST or _MOTIF_SNAPSHOT operation is in progress, the owner receives a notification that the operation is
finished.
o The widget class destination procedure is not called.
XmTRANSFER_DONE_CONTINUE
This status has the same effect as XmTRANSFER_DONE_SUCCEED, except that if a PERSIST or _MOTIF_SNAPSHOT operation is in
progress, the owner does not receive a notification that the operation is finished.
XmTRANSFER_DONE_DEFAULT
The widget class destination procedure is called. Further effects depend on the actions of that procedure.
RELATED
XmTransferSendRequest(3), XmTransferStartRequest(3), XmTransferStartRequest(3), and XmTransferValue(3).
XmTransferDone(library call)