DonationCoder.com Forum
DonationCoder.com Software => Coding Snacks => Finished Programs => Topic started by: carbodykits on March 02, 2011, 02:32 PM
-
Tried searching but couldn't find this:
1. Script monitors /HotFolder for new files.
2. If new file is found, copies file to new /Directory over SFTP
What do you think?
-
Only new? Not modified? Also, 'new' from the time the script is launched, right?
-
there are some good tools to do this aren't there? its a very useful thing but i think it already exists.
-
WinSCP (http://winscp.net/eng/index.php) can do it.
http://winscp.net/eng/docs/task_keep_up_to_date
-
Yes, new. For example,
1. I take a picture with digital camera.
2. New Picture.jpg is added to /Directory1
3. Script monitors /Directory and SFTP transfers a copy to /Directory2 (I need SFTP into my IPAD).
I will look at WinSCP tonight. Thanks for the help!
-
Thanks skwire!
Works beautifully!
-
Wonderful. :) I'll mark this one as solved.