<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
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... <br>
<br>
Here's my script:<br>
<br>
<blockquote type="cite">#set quiet on<br>
set ftp autologin off<br>
ftp domain<br>
ftp user user pass<br>
ftp mkdir Basketball<br>
ftp cd Basketball<br>
ftp mkdir WBKB:\ Hamline\ vs.\ St.\ Benedict\ \(01-16-13\)<br>
ftp cd WBKB:\ Hamline\ vs.\ St.\ Benedict\ \(01-16-13\)<br>
<b>ftp mput /larger:800000
/mount/archive/d3sports/photographers/ryan.coleman/basketball/2013/Proofs/130116-HMLN-CSB-W/*</b><b><br>
</b><b>
</b>ftp bye<br>
exit<br>
</blockquote>
<br>
I'm not sure <i>ftp mput</i> supports the <i>larger </i>switch
but I've been trying to find a good scriptable FTP client to manage
this process. I like <b>cmdftp</b> 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
<i>nnn</i> Bytes.<br>
<br>
From <a class="moz-txt-link-freetext" href="http://www.columbia.edu/kermit/ftpscripts.html">http://www.columbia.edu/kermit/ftpscripts.html</a>:<br>
<blockquote type="cite">
<p>
Or suppose you want to send <b>all the files that are larger
than one million
bytes</b> and whose names start with 'c' or 'w' except if the
file's name is
<tt>core</tt> or its name ends with <tt>.log</tt>:
</p>
<p>
</p>
<blockquote>
<pre> ftp put /except:{{core}{*.log}} /larger:1000000 [cw]*
</pre>
</blockquote>
</blockquote>
<br>
So if any of you have suggestions on scriptable FTP applications I'm
listening... <br>
</body>
</html>