Yummy Software
Welcome, Guest. Please login or register.
July 16, 2007, 02:32:54 PM
1587 Posts in 302 Topics by 392 Members
Latest Member: oppositz
Home Help Search Login Register
Yummy Software  |  Yummy FTP  |  Yummy FTP Talk  |  Auto-upload when a file is saved??? « previous next »
Pages: [1] Print
Author Topic: Auto-upload when a file is saved???  (Read 100 times)
GregX999
Newbie
*
Posts: 2


View Profile
Auto-upload when a file is saved???
« on: June 20, 2007, 10:47:10 PM »

I work on various large websites with large numbers of files in complex folder hierarchies. Sometimes I'm working on 3 or 4 files at the same time that I constantly tweak and save, then need to check online - over and over again. It can be a PAIN to have to navigate through all the folders uploading each file individually, and syncing can take too long since there are so many files.

So... is there anyway to have files automatically upload every time they are saved? Either with a folder action or an AppleScript? I'm new to the Mac (just bought my first one last week - had Windoze ever since the Amiga fizzled).

Thanks for any help!
Greg
Logged
JD
Administrator
FTP Guru
*****
Posts: 714


View Profile Email
Re: Auto-upload when a file is saved???
« Reply #1 on: June 21, 2007, 08:03:05 AM »

The first thing that comes to mind is remote editing. You can open file(s) for editing via Yummy FTP and the preferred text editor of your choice - when you save, they will be automatically uploaded. I recommend using TextWrangler for this, since it's free and integrates well with Yummy FTP:

http://www.barebones.com/products/textwrangler/

So, to recap:

1. Select file(s) to edit in the Server listing of Yummy
2. Click the 'Edit' toolbar icon (it is the TextWrangler icon by default)
3. Click 'Save' as the option of when to upload the changed file(s)
Logged
GregX999
Newbie
*
Posts: 2


View Profile
Re: Auto-upload when a file is saved???
« Reply #2 on: June 21, 2007, 12:15:04 PM »

Thanks for the quick reply, but that's not really do-able for me. I use TextMate to edit my code due to many of it's helpful programming features and its handy file-browser. So, I need something that either watches folders for files being created/saved/deleted.

Greg
Logged
JD
Administrator
FTP Guru
*****
Posts: 714


View Profile Email
Re: Auto-upload when a file is saved???
« Reply #3 on: June 21, 2007, 01:01:12 PM »

TextMate works wonderfully well with Yummy FTP as a remote editor too. Just select it as your default editor from the menu in the Server Options panel of the Preferences.

Another possible solution is an 'Upload Only' FTP Watcher. This will monitor a folder for changes and upload changed/new files, however it does only work at the folder level at which it is placed, so it will not detect changes within sub-folders. FTP Watchers will not upload changes immediately, but they do check for changes about once a minute. A description of the use and configuration of an FTP Watcher can be found in the Quick Start - select 'Quick Start' from the Help menu in Yummy FTP to see this.

Finally, a synchronization scheduled to run perhaps once every minute, would do the job of an FTP Watcher but would cover the entire hierarchy of the folder on your Mac.This won't instantaneously upload changed/new files, however. Again, a description of how to configure this is available in the Quick Start.

Logged
Pages: [1] Print 
« previous next »
Jump to: