Originally Posted by
robwhit
are you typing that into a shell or a different kind of program?
i doing like this in gtk c.
Code:
char *s1;
s1=g_strconcat("cp -i ",split1_filename11[1]," ", file,NULL);
FILE* F;
F=popen(s1,"r");
pclose (F);
"gchar **split1_filename11[1]" (file name)is a global declaration , it is getting from server.
"file" is where to save.
i used rcp also
Code:
char *s1;
s1=g_strconcat("rcp -p ",split1_filename11[1]," ", file,NULL);
all it saying
cp: cannot stat `xxxxx-1.1.1.tar.gz': No such file or directory
at file receiving side(at other machine)
can you help me
thank you in advance