Quote:
Originally Posted by Smiling Dragon
Sure, there's a bunch of ways you can do this: - Run periodic ftp listings to see when new files show up, then ftp it out.
- Use smbclient (comes with most samba implementations) to do much the same
- If your OS supports it, samba mount the shared filesystem and then treat it like a local one
You'll want to think about move vs copy as well, also consider doing filesize comparisons after copying the file to make sure you have it complete before deleting it from the share.
|
Thanks mate. We have smbclient set up and I am able to move/copy files onto unix machine periodically. But what i want to do is to run this command once when file is available on the shared drive and then move the files to unix machine. is this possible? any hints?