Script throwing error

Please post here if you have problems in using FTP Rush.

Script throwing error

Postby FishCast » Wed Nov 14, 2012 12:52 am

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
FishCast
 
posts 1
 
joined Wed Nov 14, 2012 12:03 am

Re: Script throwing error

Postby FTP » Fri Nov 16, 2012 8:01 am

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".
FTP
Site Admin
 
posts 1215
 
joined Tue Sep 29, 2009 6:09 am


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest