• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: On My Mac- FTP checking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: On My Mac- FTP checking


  • Subject: Re: On My Mac- FTP checking
  • From: Eric Geoffroy <email@hidden>
  • Date: Wed, 03 Jun 2009 09:41:45 -0700
  • Thread-topic: On My Mac- FTP checking

Here's an idea- broad view.

A stay-open script runs and polls the contents of the ftp site and builds a
report of filenames with timestamps, or filenames and file sizes. Then after
a set number of minutes, the script makes second pass and creates a second
report. The two are compared and the files that haven't been modified are
added to a list and acted upon. After that you either remove the processed
files from the report, or start a new empty report.

For generating the report, I use ncftp on the command line, a very powerful
and handy FTP utility. It is the engine that Transmit runs on. ncftp
contains some other utilities, one of which is ncftpls which is designed to
run in scripts. Ncftpls is how I get FTP directory reports for mod dates and
size.

http://www.ncftp.com/ncftp/

http://www.ncftp.com/ncftp/doc/ncftpls.html

- Eric

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: user defined error number(s)
  • Next by Date: How can I tell if server ftp folder upload is finished?
  • Previous by thread: Re: user defined error number(s)
  • Next by thread: Re: Quark frustration: setting rule below on paragraphs
  • Index(es):
    • Date
    • Thread