Thanks Frank,
Mik
On 08/11/05, Frank Nicholson <[EMAIL PROTECTED]> wrote:
Have the scheduler point to 'ftpscrpt.exe' (in the ws_ftp installed directory) and under command put '-f <scriptname>.scp'FrankFrank Nicholson
Production Control Developer
Electronic Network Systems
[EMAIL PROTECTED]
-----Original Message-----Gary,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Mik F
Sent: Tuesday, November 08, 2005 1:24 PM
To: [email protected]
Subject: Re: [WS_FTP Forum] Scheduling a script?
The script works fine; and some of th statement can be removed now I don't need to step through them. I was trying to use the built in "WS_FTP SCheduler" tool that is part of the 2006 Pro package but this only seems to allow scheduled transfers, eg not transfer then delet, or 'custom' which then looks for an executable.
Since the script file is a .scp file I can't point the scheduler at it.
I was rather hoping that this was me being dim but it rather looks like Ipswitch not coding two pieces of their application to work together.
Shame; otherwise its a good product but if I can't get this working it won't be worth upgrading.
Cheers,
MikOn 08/11/05, Gary J. Piccoli < [EMAIL PROTECTED]> wrote:
![]()
I'm not an expert, but I think that the CD command you have should be LCD to change the local directory. I assume that the profile in the CONNECT statement has the proper usercode/password and home directory.If you are scheduling this to run as a Windows Scheduled Task, make sure you have a "run as" that has admin privileges.Gary J. PiccoliColonial Computer AssociatesHome of MuSoft 2000
-------Original Message-------Hi,I've tried pposting this on the user forums but noone seems to a) usethem or b) have any idea whether I'm barking up the right tree or not.Anyway; I'm trying here before uninstalling the product.I have a simple script to transfer and then delete database backupsfrom the servers to a local machine:TRACE D:\db backups\transfertrace.txtLOG D:\db backups\transferlog.txtCONNECT "DB Backups" -pLCD D:\db backupsDIR *.gzLABEL transferONSUCCESS GOTO deleteONERROR GOTO logoutMGET *.gzLABEL deleteRDEL *.gzLABEL logoutCLOSEI was then hoping to b able to use the Scheduler to run this scriptdaily but I can't seem to be able to do this. Am I going about thisthe wrong way?Thanks,Mik--Quis custodiet ipsos custodes?Please visit http://www.ipswitch.com/support/mailing-lists.htmlto be removed from this list.An Archive of this list is available at:
--
Quis custodiet ipsos custodes?
--
Quis custodiet ipsos custodes?
Home of MuSoft
2000