Archives
- July 2019
- January 2019
- November 2018
- August 2018
- July 2018
- February 2018
- November 2017
- October 2017
- July 2017
- June 2017
- May 2017
- April 2017
- January 2017
- December 2016
- November 2016
- August 2016
- January 2015
- December 2014
- March 2014
- April 2013
- December 2010
- November 2009
- September 2009
- June 2009
- March 2009
- February 2009
- November 2008
- October 2008
- August 2008
- July 2008
- January 2008
Lists in ScriptFTP
ScriptFTP, as many script languages, does not have data types. This makes the script language and its syntax a lot easier to learn but not as powerful as others. Think of it as being “not so descriptive” and “less complex”. The drawback, in practice, is that you cannot handle things like “lists”,”sets” etc. Everything is a plain text string and you need to deal with this limitation to get the things done.
Regarding to the lists. How can the FTP script handle a list? There is a shortcut:
$my_list = "my_item_number_1|my_item_number_2|my_item_number_3" FOREACH $item_name IN $my_list PRINT($item_name) END FOREACH
Running the script you get:
my_item_number_1 my_item_number_2 my_item_number_3
How to run a scheduled FTP script in the background
The ScriptFTP integrated scheduler is used to set a script to be run at given times. Once a script is scheduled the Windows Task programming service will automatically launch ScriptFTP.exe with the appropiate parameters and a window will pop-up in the user desktop and do the file transfer. Some users find this annoying and want the FTP script to be run in the background. This post covers this issue.
ScriptFTP 4.1
This new release comes with the following changes
- Brand new user interface that works fine under high DPI displays (mostly newer laptops and high end screens). If you see the ScriptFTP window very small or with a normal size but blurry this release will solve the issues
- New ScriptFTP scheduler that works under the newest version of the Windows Task Programming service (Windows 8/10)
- Faster script execution and separate process for script running
- The status bar shows buttons to quickly access to script autorun and script output settings.
- Updated security SSH and SSL protocols with the latest revisions.
- Other minor bug fixes.