On Sat, Aug 7, 2010 at 1:49 PM, Sagar Belure <[email protected]> wrote:
> On Sat, Aug 7, 2010 at 2:16 PM, Surya Sharma <[email protected]> wrote:
>
>> I've got two hosts which allow ssh login, and ftp.
>>
>> What I want to do is transfer files from one to another without my client
>> system downloading any files. (both have /public_html folders. The files
>> from one need to be xfered to another)
>>
>
> Not sure if ftp client supports wildcard(*).

It does, provided you use mput instead of put. It will then ask you
the windows-style "are you sure?" for each filename  that matches the
regex, which can be gotten rid of by "set prompt off". That said, it
is a bit quirky to use FTP via cron - you will have to use either here
docs or an expect script.

Ah, not to forget - FTP (and not SFTP), sends data in clear text and
should never be used when SSH  is an alternative. Most Security
Analysts I know look down upon using FTP to transfer files between
*nix nodes. But that's going off on a tangent....

Regards,
NMK.
-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to