LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2007, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 18 Sep 2007 19:35:02 -0400
Reply-To:     Arthur Tabachneck <art297@NETSCAPE.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Arthur Tabachneck <art297@NETSCAPE.NET>
Subject:      Re: OT: How to make a file transfer automatic?
Comments: To: dyang@CHAPINHALL.ORG

Duck-Hye,

Does SSH provide command language access? If so, you could either simply put that code in a .bat file, or run it from SAS (possibly with an X command), and then include the line for running the SAS code.

'Scheduled tasks' will simply run the code, whichever you choose, at designated intervals. I posted some code on the list, about a month or so ago, which showed how one can include code in a .bat file to test file dates and sizes. By using the same approach in running the task as a .bat file, you can set up a loop to continue the process until the file is actually replaced.

HTH, Art ---------- On Tue, 18 Sep 2007 11:23:05 -0500, Duck-Hye Yang <dyang@CHAPINHALL.ORG> wrote:

>Hello, >I'd like to schedule a file transfer at a set time, say every night (12AM). >I have an account on a Secure FTP server to transfer files. >Routinely I use 'SSH Secure File Transfer' to download files to my PC machine (operating on Windows-XP). > >I'd like to know how to make the transfer job automatic. >I've heard that I can use 'add scheduled task' from Control Panel. However, I realized that first of all I need to write a program. > >Thanks, >Duckhye


Back to: Top of message | Previous page | Main SAS-L page