I need to script the following task and place it in a cron;
I need to ftp two data files from our Unix Server to a common ftp file server. Once the file transfer is complete, I must send a header or flag file that tells a remote process on the ftp server tthat the transfer is complete otherwise I need to send a mailx out that indicates the transfer failed.
What would be the best way to determine if my transfer was complete. My first inclination is to compare file sizes between my local unix file and the remote ftp server file but am not clear on how to do that. I am unable to remotely connect to the ftp server with anything other than ftp. (ie. rsh ssh...) Any help would be appreciated.
Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.
Dialogs (1) modal - maintaining the database.
Continuing from the ninth article about sudoku.
You might have heard of modal and modeless dialogs. Here with this Sudoku application will we use one of each type: a modal dialog …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc.
This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell.
ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…