Not sure if it does what you are looking for, but check out lftp.

http://lftp.yar.ru/

-Erik

On Sun, Feb 10, 2013 at 11:53 AM, Ryan Coleman <ryanjcole at me.com> wrote:
> I'm trying to process FTP automation for my site to push out to our
> reselling website but I wanted to break it down to limit to files greater
> than 2MB...
>
> Here's my script:
>
> #set quiet on
> set ftp autologin off
> ftp domain
> ftp user user pass
> ftp mkdir Basketball
> ftp cd Basketball
> ftp mkdir WBKB:\ Hamline\ vs.\ St.\ Benedict\ \(01-16-13\)
> ftp cd WBKB:\ Hamline\ vs.\ St.\ Benedict\ \(01-16-13\)
> ftp mput /larger:800000
> /mount/archive/d3sports/photographers/ryan.coleman/basketball/2013/Proofs/130116-HMLN-CSB-W/*
> ftp bye
> exit
>
>
> I'm not sure ftp mput supports the larger switch but I've been trying to
> find a good scriptable FTP client to manage this process. I like cmdftp but
> it does not seem to support scripting. I know this script works regardless
> of filesize - so that's a plus - but I would love to make it work for only
> files over nnn Bytes.
>
> From http://www.columbia.edu/kermit/ftpscripts.html:
>
> Or suppose you want to send all the files that are larger than one million
> bytes and whose names start with 'c' or 'w' except if the file's name is
> core or its name ends with .log:
>
>   ftp put /except:{{core}{*.log}} /larger:1000000 [cw]*
>
>
> So if any of you have suggestions on scriptable FTP applications I'm
> listening...
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>



--
Erik K. Mitchell
erik.mitchell at gmail.com