hey all
i would like to ftp a file to a web server .
i will get the web server name from the GUI screen i have and store it in a database .
From the database i shd fetch the path of the server and send a corresponding file to that server .
i need to just know abt the FTP part .how can i do it...
hey all
i would like to ftp a file to a web server .
i will get the web server name from the GUI screen i have and store it in a database .
From the database i shd fetch the path of the server and send a corresponding file to that server .
i need to just know abt the FTP part .how can i do it...
hey all
i would like to ftp a file to a web server .
i will get the web server name from the GUI screen i have and store it in a database .
From the database i shd fetch the path of the server and send a corresponding file to that server .
i need to just know abt the FTP part .how can i do it...
...#define CONFIG "/home/ipcpe/process/config.ini"
#define YES 1
#define NO 0
#define TRUE 1
#define FALSE 0
/*********Global Variables ***********/
int CDRcoll_pid = -1; /* pid of the get process */
int CDRdaemon_pid; /* pid of this daemon */
FILE *fp1...
hey
i solved it by just giving a NULL in the wait function .
could someone tell me what is the difference between wait();
and wait(NULL);
thanks abp for ur efforts
ramki
...#define CONFIG "/home/ipcpe/process/config.ini"
#define YES 1
#define NO 0
#define TRUE 1
#define FALSE 0
/*********Global Variables ***********/
int CDRcoll_pid = -1; /* pid of the get process */
int CDRdaemon_pid; /* pid of this daemon */
FILE *fp1...
...#define CONFIG "/home/ipcpe/process/config.ini"
#define YES 1
#define NO 0
#define TRUE 1
#define FALSE 0
/*********Global Variables ***********/
int CDRcoll_pid = -1; /* pid of the get process */
int CDRdaemon_pid; /* pid of this daemon */
FILE *fp1...
...#define CONFIG "/home/ipcpe/process/config.ini"
#define YES 1
#define NO 0
#define TRUE 1
#define FALSE 0
/*********Global Variables ***********/
int CDRcoll_pid = -1; /* pid of the get process */
int CDRdaemon_pid; /* pid of this daemon */
FILE *fp1...
hi all
i would like to know how i can use some the environmental variable inside a c program .
iam working in linux platform .
If u can give me an idea it would be great
thanks
ramki
hey
u will also have some swp ( swap files) created which will be used for the recovery of the file
as CaKiwi said u can recover the file lost by
vi -r filename
here -r stands for recovery .
hope it was useful
regards
ramki
CUT is a command used to cut a field from a file and display it on to the screen .
create a file $ cat > f1
name age group class sec
let these some of the fields in that file f1 .
suppose u wanna cut the third field
$ cut -d " " -f3
this will give a o/p of "group "...
It is possible to send a signal to a specified process group using the kill system call .
where as raise sends a signal to the current process
only .
regards
ramki
There can be 2 possibility for not finding GUI
1. There may be a probs with the Xwindows or a probs with the graphical drivers .
2 . The CDE option may be disabled
so to enable it
From the root
in the prompt give
$ dtconf -e or dtconf -enable
move to /usr/dt/bin and then give...
hi parrabueno
unix sun certification will do good when u r inclined to unix administration .
U have 2 papers on that
u can get info from sun site itself .
hi Spockx2
The best way to learn unix is to install and find out how it works on ur own .Dont attend any classes they r waste .
get a...
There is also another way of sending signals .
Set up the signal handler in the process that wants to catch the signal:
#include <signal.h>
/* ... */
signal(SIGUSR1,handler);
The handler fucntion will be called as soon as the signal SIGUSR1 is invoked .
In the process that sends the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.