Re: Recursive FTP upload tool?

2005-12-30 Thread JK

On Fri, 30 Dec 2005 13:13:21 -0500
 Joe Auty <[EMAIL PROTECTED]> wrote:


On Dec 30, 2005, at 1:03 PM, JK wrote:


On Fri, 30 Dec 2005 12:10:07 +0100 (CET)
 Alexander Pohoyda <[EMAIL PROTECTED]> wrote:

Hi folks,
I'm looking for a command-line tool to recursively upload all 
changed

files/directories to my homepage server via FTP.  Is there anything
better than wput for this task?


'rsync' is perfectly suited for this and much much better than ftp.

''man rsync''




It is, but I believe it only works over SSH. Perhaps it can be 
configured to work over FTP, I've never tried (no reason to).




Can you use ssh?  I personally never use nor enable FTP anymore these 
days given the massive number of script kiddies and serious hackers 
out there.  Regular FTP is just too insecure ( I don't know about more 
recent ''secure'' FTP ).  Just use ssh and if it's not available on 
the other end beg/tell/require them to enable it


I get easily over 1000 attempts per day from hackers trying to break 
into my poor little colo'd server...


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recursive FTP upload tool?

2005-12-30 Thread Lowell Gilbert
Joe Auty <[EMAIL PROTECTED]> writes:

> On Dec 30, 2005, at 1:03 PM, JK wrote:
> 
> > On Fri, 30 Dec 2005 12:10:07 +0100 (CET)
> >  Alexander Pohoyda <[EMAIL PROTECTED]> wrote:
> >> Hi folks,
> >> I'm looking for a command-line tool to recursively upload all changed
> >> files/directories to my homepage server via FTP.  Is there anything
> >> better than wput for this task?
> >
> > 'rsync' is perfectly suited for this and much much better than ftp.
> >
> > ''man rsync''
> 
> 
> 
> It is, but I believe it only works over SSH. Perhaps it can be
> configured to work over FTP, I've never tried (no reason to).

>From rsync(1):

   There are two different ways for rsync  to  contact  a  remote  system:
   using  a  remote-shell program as the transport (such as ssh or rsh) or
   contacting an rsync daemon directly via TCP.  The  remote-shell  trans-
   port  is used whenever the source or destination path contains a single
   colon (:) separator after a host specification.   Contacting  an  rsync
   daemon  directly happens when the source or destination path contains a
   double colon (::) separator after a  host  specification,  OR  when  an
   rsync://  URL  is  specified (see also the "USING RSYNC-DAEMON FEATURES
   VIA A REMOTE-SHELL CONNECTION" section for an exception to this  latter
   rule).

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recursive FTP upload tool?

2005-12-30 Thread Joe Auty


On Dec 30, 2005, at 1:03 PM, JK wrote:


On Fri, 30 Dec 2005 12:10:07 +0100 (CET)
 Alexander Pohoyda <[EMAIL PROTECTED]> wrote:

Hi folks,
I'm looking for a command-line tool to recursively upload all changed
files/directories to my homepage server via FTP.  Is there anything
better than wput for this task?


'rsync' is perfectly suited for this and much much better than ftp.

''man rsync''




It is, but I believe it only works over SSH. Perhaps it can be  
configured to work over FTP, I've never tried (no reason to).





---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recursive FTP upload tool?

2005-12-30 Thread JK

On Fri, 30 Dec 2005 12:10:07 +0100 (CET)
 Alexander Pohoyda <[EMAIL PROTECTED]> wrote:

Hi folks,

I'm looking for a command-line tool to recursively upload all 
changed

files/directories to my homepage server via FTP.  Is there anything
better than wput for this task?


'rsync' is perfectly suited for this and much much better than ftp.

''man rsync''
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recursive FTP upload tool?

2005-12-30 Thread Alexander Pohoyda
> > I'm looking for a command-line tool to recursively upload all changed
> > files/directories to my homepage server via FTP.  Is there anything
> > better than wput for this task?
> 
> Have you seen this article on automating command line ftp?
> http://www.onlamp.com/pub/a/onlamp/excerpt/BSDHacks_chap1/index1.html

Good article, thank you very much.

> It recommends ncftp client, but I don't know if it does what you
> want or not.

Yes, it does, but not better than wput, so I'll stick with wput for a
while.

BTW, I added a feature to read passwords from ~/.netrc file, so
whoever needs it, please follow this feature request:


https://sourceforge.net/tracker/index.php?func=detail&aid=1393643&group_id=141519&atid=749616


-- 
Alexander Pohoyda <[EMAIL PROTECTED]>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recursive FTP upload tool?

2005-12-30 Thread Greg Barniskis

Alexander Pohoyda wrote:

Hi folks,

I'm looking for a command-line tool to recursively upload all changed
files/directories to my homepage server via FTP.  Is there anything
better than wput for this task?


If your server supports it, of course rsync seems much better than 
FTP for this task.


Have you seen this article on automating command line ftp?
http://www.onlamp.com/pub/a/onlamp/excerpt/BSDHacks_chap1/index1.html

It recommends ncftp client, but I don't know if it does what you 
want or not.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Recursive FTP upload tool?

2005-12-30 Thread Alexander Pohoyda
Hi folks,

I'm looking for a command-line tool to recursively upload all changed
files/directories to my homepage server via FTP.  Is there anything
better than wput for this task?

-- 
Alexander Pohoyda <[EMAIL PROTECTED]>
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"