Posted: 27 Mar 2010 16:37 | ||
Registered User Currently Offline |
Posts: 3 Join Date: Mar 2010 |
|
Using script commands:
Code:
10 ftpdownload file, $remote_item.name; 11 if ftpresult eq success begin 12 filewriteline $remote_item.name; 13 end I can't run the script, the error is: Script Engine: Parse Error on line 12 - Incorrect number of parameters ERROR: FTP script could not be parsed. 1 parse error(s) If I use a quoted string "dummy.txt" or string variable instead of $remote_item.name on line 12, then there is no error. Code:
setvar ~remote_name, $remote_item.name; filewriteline ~remote_name; I suggest that the value of .name should be useful anywhere that a string is specified. |
Posted: 06 Apr 2010 10:08 | ||
Moderator Currently Offline |
Posts: 367 Join Date: Nov 2008 |
|
Thank you for reporting this issue. Our developers have been notified of this issue and a fix for this should be made available soon. |