I would like to obtain the encryption tool.
How can i start a scheduled task every hour at XX:55 and at startup of scriptFTP
The ScriptFTP scripting language does not have data types (As most scripting languages) and dealing with anything which is not plain text requires some kind of tricks. This happens with file lists as we have seen before, dates and time spans suffer the same limitation. This post covers how these data types are handled 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:
Running the script you get:
my_item_number_1 my_item_number_2 my_item_number_3
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.
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.
Since the version 3, ScriptFTP has relied Windows Forms to build its buttons, panels etc. This is one of the many available tools that we the software developers use to build user interfaces, a very popular in fact. But since high density displays (high DPI displays) are becoming more and more popular, users of the apps that use this technology notice that they look bad on their shiny new screens. They only have two choices: scale everything up, making these apps look pixelated or keep their original size and struggle to understand anything on the program because every element is shown tiny, almost unreadable.
Fortunately, some time ago, Microsoft released new programmer tools to build user interfaces (WPF and XAML) that scale gracefully across different screen sizes and pixel densities. The latest version of ScriptFTP (v4.1 and still under development) has been built using these tools and looks much better on modern computers. Take a look at the difference, older version on the left, new version on the right:
If you want to try the beta version feel free to drop an email at email@example.com . Most of the things are already working except the script scheduler.
It has been a long time since the last time the ScriptFTP web site has changed its looks. Except for minor updates in the Examples and Documentation section. We have finally made the conversion of all of its contents to a brand new server and a completely redesigned look.
The changes? Most of them related to the new stardards for web site development. You know, responsiveness for firendly mobile view, bigger elements for high dpi displays and so on. Now let’s focus on the next release of the program.
From time to time we receive an email asking if the script to EXE conversion service (more info about it here) is an installable software, or a Windows service that runs in the background and automatically converts the FTP files to standalone EXE programs.
Well, it is not. This is a special kind of customer service where we manually build an EXE file (using the Windows development tools) from a script file you send to us. It is that simple ;).
I would like to share here a common question that from time to time it is answered via email (you can request tech support in the Contact section):
Sorry to bother you, I looked at a few forum pages and could not search for ‘include’ (because it was ‘a too common word’). Just a high-level question in three parts as I am evaluating ScriptFTP:
1) Can I use the equivalent of an ‘#include <stdio.h>’ (C notation) to put common parts of scripts or functions into one place? All the examples I have seen were in one stand-alone ‘.ftp’ file.
2) If not possible, can I at least make a connection script that I call from another script and use it?
(For example on.ftp is the logon and off.ftp the logoff script, can I have a main.ftp that calls on.ftp, does some FTP stuff and calls off.ftp then?)
3) If 2) works, could I call the three .ftp scripts from a Powershell individually (in sequence)? Or do I lose the connection as soon as the script is done?
So far I am impressed. The scripting is easy and straightforward, and from what I’ve read I can combine it with Powershell via command line… The best feature is the return code check after each command during the session. Good job.
And our answer here:
1) “Including” other script files within a script is not supported, sorry.
2) If you want to share server names, user names etc among many scripts try using GETENV (to retrieve an environment variable where you have stored the FTP server address, for example) or use GETPARAM which retrieves parameters from the command line. I hope this answer your question.
3) The connection is lost but you can call three script sequentially just call ScriptFTP.exe the_script_path.ftp. See ScriptFTP in the command line