FTP scripts check remote servers file
Hi guys,
I want to ftp the file in linux from windows server. After getting file in linux server i want to check the file size with windows(source) server. If the file size are same with linux then i want to erase the windows file remotely from linux server. Can you please help me how can i write a scripts to check file size with Win server and erase the same. Thanks in advance. Manis |
I wouldn't rely on filesize, different filesystems might report different sizes. What you're probably wanting is MD5 sum checks.. but I don't know of a script or have not written one, that would take the fun out of learning to write one yourself.. ;)
|
All times are GMT -5. The time now is 10:48 AM. |