Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 03, 2016, 09:33:11 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: SOLVED: SFTP new file with HotFolder  (Read 4141 times)

carbodykits

  • Participant
  • Joined in 2011
  • *
  • default avatar
  • Posts: 10
    • View Profile
    • Donate to Member
SOLVED: SFTP new file with HotFolder
« on: March 02, 2011, 02:32:00 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?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,664
    • View Profile
    • Donate to Member
Re: IDEA: SFTP new file with HotFolder
« Reply #1 on: March 02, 2011, 02:40:17 PM »
Only new?  Not modified?  Also, 'new' from the time the script is launched, right?

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,405
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: SFTP new file with HotFolder
« Reply #2 on: March 02, 2011, 02:47:20 PM »
there are some good tools to do this aren't there? its a very useful thing but i think it already exists.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,664
    • View Profile
    • Donate to Member
Re: IDEA: SFTP new file with HotFolder
« Reply #3 on: March 02, 2011, 02:53:08 PM »

carbodykits

  • Participant
  • Joined in 2011
  • *
  • default avatar
  • Posts: 10
    • View Profile
    • Donate to Member
Re: IDEA: SFTP new file with HotFolder
« Reply #4 on: March 02, 2011, 08:02:23 PM »
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!

carbodykits

  • Participant
  • Joined in 2011
  • *
  • default avatar
  • Posts: 10
    • View Profile
    • Donate to Member
Re: IDEA: SFTP new file with HotFolder
« Reply #5 on: March 03, 2011, 07:51:32 PM »
Thanks skwire!

Works beautifully!

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,664
    • View Profile
    • Donate to Member
Re: IDEA: SFTP new file with HotFolder
« Reply #6 on: March 03, 2011, 11:44:50 PM »
Wonderful.   :)  I'll mark this one as solved.