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...
sorry friends i forgot to give u the rest of the code where i have used a wait .
i had given wait with a parameter ie wait();
there ocured a segmentation fault because of this .
then i tried wait(NULL); it worked
but tell me what is the difference btw these .
anyway thanks for ur effort ...
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
sorry i missed half the code
here is the full code
iam getting a segmentation fault after it executes for the first time .
#include<stdio.h>
#include<signal.h>
#include<time.h>
#include<unistd.h>
#include<errno.h>
#include<stdlib.h>
#include "/home/ipcpe/process/lib/ERR_logerror.c"...
hi all
cou;ld someone help me out with this segmentation fault .
i have given the code here .
somewhere there is a segmentation fault .
iam unable to find out .could u help me .
the main aim of the code is to run a particular process
"get" at an interval as specified in the ENv...
hi abp
i have given the code here .
somewhere there is a segmentation fault .
iam unable to find out .could u help me .
the main aim of the code is to run a particular process
"get" at an interval as specified in the ENv variable "TIME" .
The process is getting executed...
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
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.