Script throwing error
Posted: 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
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