Re: delete a file that found on different machine

From: Alon (noSpam_at_hotmail.com)
Date: 06/26/03


Date: Thu, 26 Jun 2003 18:03:20 +0300

Is there a way to delete a file on remote computer in a single line like
that:
ftp host | echo username | echo password | echo mdelete file.c

I know that this line doesn't work, but if I can alter its syntax
that will make it to work, I will be able to call this line from c program
like this:

system("ftp host | echo username | echo password | echo mdelete file.c") ;

Any help will be very appreciated.
regards,
Alon