Your best friend for file transfer.

FTP Notification (5 posts)
- Started 18 years ago by Jward
- Latest reply 18 years ago from Jward
-
Jward Member
-
Jim Matthews Administrator
You could write an AppleScript to periodically check for new files. Let me know if you need help doing that.
Thanks,
Jim Matthews
Fetch Softworks -
Jward Member
Hi Jim,
I've never writen an applescript before, so your help would be greatly appreciated!
Jeff
-
Jim Matthews Administrator
Sorry for the late response. Here's a script that (if you save it as an application and run it) checks a server folder once a minute, and puts up a dialog if it sees anything in the folder. You could also have it beep or say something.
on idle
tell application "Fetch 4.0.3"
open url "ftp://userid:@hostname/path/"
set itemCount to count of every remote item of transfer window 1
if itemCount > 0 then
display dialog "Item on server"
end if
end tell
return 60 -- check again in 1 minute
end idleYou need to change the URL in the script. The easiest way to compose a URL is to connect to the folder in question with Fetch and choose Copy from the Edit menu.
Thanks,
Jim Matthews
Fetch Softworks -
Jward Member
Thanks Jim,
This has been very helpful
- Page 1
Topic closed
This topic has been closed.
Hi,
I'm looking for a way to recieve automatic notification when there is a new post to our FTP site.
Any Help!
Posted 18 years ago #