Page 1 of 1

Script throwing error

Posted: Wed Nov 14, 2012 12:52 am
by FishCast
I am on a Windows 2003 Server R2, using FTPRush Ver. 2.1.8

I have set up a Bookmark to the FTP site that I want to transfer a file to every day with a task. I am new to the Script Language and I have not been able to find any good instructions, just a sample script that I am trying to use.

This is what I have placed in the script window:

-------
Procedure OnCallExternalProgramClick(Sender);
Begin
RushApp.FTP.Transfer(0, '', 'M:\EDI\EDI INVENTORY\ADVANCE\', '89743.csv.', 'ADVANCE', '/', '89743.csv', RS_UP or RS_FILE or RS_DIRDES or RS_DIRSRC or RS_LOGOUT, '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0);

End.

-----

However it does not do anything, and the log file says
[1] CWD.
[1] 250 Requested file action okay, completed

Re: Script throwing error

Posted: Fri Nov 16, 2012 8:01 am
by FTP
I think you just need to add a new task:

1. First open the source FTP site, right-clicking on your local file, and then click on "advanced transfer -> condition transfer".

2. In the "Synchronize option", check on the options "Enable synchronize" and "Compare file datetime", and then click on the button "Schedule Queue to Task".

3. Now you will find a new queue, right-clicking on it, and then click on "Schedule Queue to Task".