Re: Rsync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cheers guys for your help.

To clarify the problem I have is at work one of our departments
regularly ask me to download files from one of their suppliers. I was
thinking that rather than do this when asked I could use a tool like
rsync to download any new files and then notify me.

Rsync works great for me at home when syncing a repo through ftp so my
my first thought was can it do a similar job on a secure ftp site that
uses a password and user name.

In light of this is it possible to log in to a ftp site using the
standard ftp tool and do a directory listing then exit whilst logging
the session to a file eg channel 1> ftp_output (Not sure about my
syntax on this) then use diff or grep to match any differences between
my last dir, and download the new files?

Any thoughts?





On 03/09/07, Ed Kasky <ed@xxxxxxxxx> wrote:
> At 01:22 PM Monday, 9/3/2007, Ed Greshko wrote -=>
> >Paul Ward wrote:
> > > Hi Peeps,
> > >
> > > Does anyone know if it is possible to use rsync to back up an ftp site
> > > that uses a password.
> > >
> > > I am aware of rsync://[USER@]HOST[:PORT]/SRC [DEST] but how do I
> > > handle the password?
> > >
> > > If this is not possible does it mean I have to use sftp?
> > >
> > > Thanks in advance
> >
> >I think you don't quite understand rsync.
> >
> >There are two sides to any transfer.  The client side and the server side.
> >The site holding the data, in your case the "ftp site", needs to have the
> >rsync server configured to allow a client to connect and transfer data.  It
> >doesn't use the ftp protocol at all.  From the man page....
> >
> >DESCRIPTION
> >    rsync  is  a program that behaves in much the same way that rcp does, but
> >    has many more options  and  uses  the  rsync  remote-update  protocol  to
> >    greatly  speed  up  file  transfers  when  the  destination file is being
> >    updated.
> >
> >See the rsync man page for additional information on connection options.
> >
> >So, if you have access to the "ftp site" and can configure the rsync server
> >on it...or if the "ftp site" supports or the owner will support rsync you
> >can use it.  Otherwise you'll have to use alternate tools.
>
> A great alternate tool you might want to look at is ncftp.
>
> http://www.ncftp.com/ncftp/
>
> Ed
>
> . . . . . . . . . . . . . . . . . .
> Randomly Generated Quote (534 of 1261):
> Genderplex: Trying to determine from the cutesy pictures
> which restroom to use.
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux