Script throwing error

Please post here if you have problems in using FTP Rush.
Post Reply
FishCast
Posts: 1
Joined: Wed Nov 14, 2012 12:03 am

Script throwing error

Post 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
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Script throwing error

Post 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".
Post Reply