Re: delete a file that found on different machine
From: Alon (noSpam_at_hotmail.com)
Date: 06/29/03
- Next message: telford_at_xenon.triode.bogus.au: "Re: Finding Process ID of Runaway files"
- Previous message: llewelly: "Re: What is wrong with this makefile fragment?"
- In reply to: Anna Seg: "Re: delete a file that found on different machine"
- Next in thread: David Schwartz: "Re: delete a file that found on different machine"
- Reply: David Schwartz: "Re: delete a file that found on different machine"
- Reply: Oleg Goldshmidt: "Re: delete a file that found on different machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 29 Jun 2003 08:49:38 +0300
Now i'm informed that i'm not allowed to used ssh
or any other software that needed to be specially installed, so curl is also
not appropriate.
How can I do that by using system() to call the ftp command or script file?
Can you show me an example of such script?
because when im calling the ftp command by script, the next lines in the
scripts
that supposed to enter the username and password are launced after the
ftp process is over.
thanks,
alon
"Anna Seg" <segfault@removethis.noao.edu> wrote in message
news:bdfakg$1n7l$1@noao.edu...
> Alon wrote:
> > Hi,
> >
> > How can I delete a file that found on different machine?
> > Both of the machines have UNIX system,
> > And i am programming in C.
>
> You can use ssh w/out password prompting, if you set it up to use public
> key authentication. See the man pages for ssh.
>
> [user@machine]$ ssh othermachine rm badfile
>
> -Anna-
>
- Next message: telford_at_xenon.triode.bogus.au: "Re: Finding Process ID of Runaway files"
- Previous message: llewelly: "Re: What is wrong with this makefile fragment?"
- In reply to: Anna Seg: "Re: delete a file that found on different machine"
- Next in thread: David Schwartz: "Re: delete a file that found on different machine"
- Reply: David Schwartz: "Re: delete a file that found on different machine"
- Reply: Oleg Goldshmidt: "Re: delete a file that found on different machine"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|