Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Hummer

macrumors 65816
Original poster
Feb 3, 2006
1,012
0
Queens, New York NY-5
I need to take new files in a given folder and have them uploaded to a server at a specific time each night.

What would be the best program for doing this?
 
If you're comfortable with the command line, I used to do something like this with cron and ncftp. I'm sure there are other more GUIfied ways to do this.

B
 
It could be done with an automator workflow, for scheduling you could attach the workflow to a calendar event.

The workflow would be something like Get Specified Server -> Connect to Server -> Get Specified Finder Items -> Copy Finder Items
 
It could be done with an automator workflow, for scheduling you could attach the workflow to a calendar event.

The workflow would be something like Get Specified Server -> Connect to Server -> Get Specified Finder Items -> Copy Finder Items

Thank you. How do I tell it to upload new files only and not ones that were previously uploaded?
 
I use an FTP program called Fetch, and it sounds like "Mirror" might be what you are looking for. I've copied the relevant Help text below. I've bolded some text that I think you'll be most interested in. You could set the Mirror Document to open at a certain time each night. I'd be surprised if other FTP programs don't have something similar.

You could use the Put command to upload all the files that make up a website, but if only a few files have changed since the last upload, it isn't necessary or efficient to upload the entire site again. Instead, you can use the Mirror command to upload only new and changed files.

When you choose the Mirror command, Fetch displays the Mirror window, where you specify the source and destination folders to mirror between. They can be one folder on your computer and one folder on a server, or two server folders.

You can also use the Mirror command to completely synchronize two folders, deleting files in the destination folder that do not exist in the source folder in addition to copying new and changed files. You should use this feature with caution; see the Mirror window help topic for more information.

You can save the settings from the Mirror window as a mirror document, and simply open that document to restore the settings or start mirroring automatically.

For more information about mirroring and the Mirror window, see the introductory or in-depth Mirror window help topics, or the mirroring a local folder to a remote folder topic.
 
I do something similar using Hazel & Transmit. Works for what I need it to do

Will work for new files added to the folder or whatever you define
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.