[NTLUG:Discuss] Script SCP to Windows 2008 Server

Wayne Walker wwalker at solid-constructs.com
Tue Oct 18 15:44:13 CDT 2011


On Wed, Oct 12, 2011 at 03:59:41PM -0500, Michael Barnes wrote:
> We have an old Linux FTP server that is long overdue replacement.
> Unfortunately, our corporate IT folks are replacing it with a Windows
> 2008 Server box running some kind of Windows FTP server on it.  I've
> got about 40 shell scripts that send big files to the server every
> day.  I've been using scp with shared keys so no password is needed
> and it works great.  Any ideas on what to use that is as easy to set
> up and doesn't need passwords in the scripts I can get to work with
> the Windows FTP server?

A new corporate IT group?  Ah, FTP, the smell of the 80's...

lftp on linux works with both FTP and FTPS I believe, and the passwords
should be in ~/.netrc .  It's still terrible to have plaintext passwords
lying around, but at least they are in one, securable, location.

-- 

Wayne Walker
wwalker at solid-constructs.com
(512) 633-8076
Senior Consultant
Solid Constructs, LLC



More information about the Discuss mailing list