The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Copying files from a remote server to local system with cygwin patwa UNIX for Dummies Questions & Answers 3 06-12-2008 08:49 AM
Automatically copying files from server to local drive? Sepia UNIX for Dummies Questions & Answers 1 06-06-2008 01:24 AM
FTP multiple files from remote server to local server berlin_germany Shell Programming and Scripting 2 12-20-2006 03:24 AM
how to copy files from local computer to server sagolo UNIX for Dummies Questions & Answers 3 10-12-2005 11:02 AM
Coping filies from Linux Server to HP-UX Server cgege HP-UX 2 04-12-2004 01:25 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-19-2007
jhofilena jhofilena is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 3
Coping files from server to local

This is my first post, so first I'd like to say hello to everyone.

Here's the issue I'm having...I run a macro against multiple log files every morning. The procedure is sort of time consuming. I have to log into the box where there are stored, then ftp/download them to my local drive using WinSCP. I want to write a script that will do the transfering of files for me every morning. Can anyone help?

Thanks so much!
  #2 (permalink)  
Old 09-19-2007
jyoung jyoung is offline
Registered User
  
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 228
You could set up an FTP Server on your PC and then write a script on the box you log into to do the download. You could use CRON to schedule it.
  #3 (permalink)  
Old 09-19-2007
jhofilena jhofilena is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 3
Yeah, I figured that it would be done with a script and CRON, and that's where I'm running into trouble. I'm not sure how to script this. Any ideas?
  #4 (permalink)  
Old 09-19-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by jhofilena View Post
Can anyone help?
I am assuming the client is a Windows machine?

Try writing a batch file and schedule it with schtasks.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0