[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ftp script?



IT WORKS!!!

Thanks!

Harold


> Harold Hallikainen wrote:
>> I'm trying to have ftp send a file to another machine in a shell script
>> called by cron. After Googling around, reading various man pages, etc.,
>> it
>> looks like I've gotten the script to log in properly by setting up stuff
>> in .netrc , but I'm still having trouble sending the cd and put commands
>> into ftp from the script. Can anyone give me some clues? This is running
>> on an RH8 machine.
>
> Have a look at the "ncftpput" and "ncftpget" commands.  They are
> FTP client programs specifically written to be used in batch or shell
> scripts.  "man ncftpput" and "man ncftpget" for details.
> ----------------------------------------------------------------------
> - Rick Stevens, Senior Systems Engineer     rstevens vitalstream com -
> - VitalStream, Inc.                       http://www.vitalstream.com -
> -                                                                    -
> -    First Law of Work:                                              -
> -    If you can't get it done in the first 24 hours, work nights.    -
> ----------------------------------------------------------------------
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request redhat com
> Subject: unsubscribe
>


-- 
FCC Rules Updated Daily at http://www.hallikainen.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]