https://www.linkedin.com/pulse/limagitox2-next-big-step-file-mover
Credits: www.iconarchive.com

https://www.linkedin.com/pulse/limagitox2-next-big-step-file-mover
Credits: www.iconarchive.com
In Limagito v11.05.13.0 we’ve added the following function:
Function psSaveTxt2File(Text, Destination: String; Encoding: String; WriteBOM: Boolean): Boolean;
This function can be used to convert text file encoding. The ‘Encoding’ string var that needs to be passed to the function can be found in the name table in the following link:
In the following example we’ll read the content of a text file (File Filter is set to only pickup .txt files) and save it using ‘ISO-8859-1’ encoding.
On Destination Pascal Script
var
aList: TStringList;
aString: String;
const
ctOutputPath = 'C:\Test\Out\';
Begin
psExitCode:= 1;
// ... add your code here
aList := TStringList.Create;
Try
Try
aList.LoadFromFile(psFilePath + psFileName);
// Save
psSaveTxt2File(aList.Text, ctOutputPath + psFileName, 'ISO-8859-1', False);
Except
psLogWrite(1, '', 'Pascal Script Exception');
End;
Finally
aList.free;
End;
End.
Best Regards,
Limagito Team
Status Update Limagito X2 – v20170505
Please read: LimagitoX2.Intro.pdf
Create Application Exe
Add Log Window
Add IPC Log Window
Add Run @ Startup
Add Run in System Tray
Add Open Application Direcotry
Add Open Setings Directory
Add About Dialog
Remote Functions & Procedures (ongoing)
Create Service Exe
Remote Functions & Procedures (ongoing)
Create Remote Exe
Add Login Dialog
FileMover Help
Icon Legend
About
Options
Settings Directory
Import Settings
Export Settings
Network Drive
HTTP Server
Scan Setup
Execute Rule
Enable Rules
Disable Rule
Add Rule
Duplicate Rules
Delete Rule
Logging
Precondition
Rule Events
Command
Pascal Script
Rule Parameters
Advanced
Enable Scanning
Disable Scanning
Execute All Rule
Mail Setup (SMTP)
Execute All Rules
Enable / Disable Rule
Execute Rule
Scan Setup
WIN as Source
FTP as Source
SFTP as Source
POP3 as Source
IMAP as Source
AUTO as Source
HTTP as Source
AWSS3 as Source
WebDAV as Source
SQL as Source
Drive as Source
Edit Source
Export Source
Import Source
File Filter
Dir Filter
Memory
Backup
Function
WIN as Destination
FTP as Destination
SFTP as Destination
SMTP as Destination
PS as Destination
(UN)ZIP as Destination
AWSS3 as Destination
WebDAV as Destination
HTTP as Destination
Drive as Destination
Edit Destination
Delete Destination
Export Destination
Import Destination
Select Options (Up, Down, Sort, ..)
Enable Rule(s)
Disable Rule(s)
Add Rule
Duplicate Rules
Delete Rule(s)
Enable Group
Disable Group
Hold Rule(s)
Release Rule(s)
Reset Info Status
Enable Info Status
Disable Info Status
Reset Counter
Refresh Rules
Collapse All Groups
Reconnect
Add RunTime Log Tab
Add Rule Report Tab
Add Rule Info Tab
Add Find Rule
Add Counter
Add Reset Counter
Add Source Progress Bar
Add Destination Progress Bar
Remote Functions & Procedures (ongoing)
Create Configuration Exe
Add Service Option
Add License File Option
Add License Code Option
Add IPC Option
Add SQLite Option
Credits: www.iconarchive.com