Search found 8 matches
- Fri May 16, 2025 6:33 pm
- Forum: Flows
- Topic: Privatedata from filename
- Replies: 11
- Views: 51327
Re: Privatedata from filename
Thank you for the details Loïc Yes and using a script will allow me to modify it once for all flows. Hi Thomas About the legacy / node.js mode : did Enfocus sent a date before we must have rewrite all scripts ? I will try to rewrite my script with node.js. But without a very low knowledge for script...
- Thu May 15, 2025 2:57 pm
- Forum: Flows
- Topic: Privatedata from filename
- Replies: 11
- Views: 51327
Re: Privatedata from filename
Merci Loïc ! I am always surprised as we often need to use third parties applications in Enfocus Switch. Can't these apps disappear or not be updated? Thanks to ChatGPT, i finally wrote a script and it is working very well. // Is invoked each time a new job arrives in one of the input folders for th...
- Thu May 15, 2025 2:44 pm
- Forum: Flows
- Topic: Problem to connect on FTP server
- Replies: 5
- Views: 23842
Re: Problem to connect on FTP server
Hello, I have exactly the same problem : I try to receive files from a SFTP server on specific port 4465 and authentication with login / password No problem with filezilla.app on the switch server, but impossible from the workflow (impossible to connect to the server when I launch the flow or when I...
- Wed May 14, 2025 11:41 am
- Forum: Flows
- Topic: Privatedata from filename
- Replies: 11
- Views: 51327
Re: Privatedata from filename
Thank you Jan,
yes this is always the same problem ! I have the Scripting Module but not enough knowledge to use it well !
I still need to learn how to script. I can't find many sources for training...
Someone knows a site for training or to download examples ?
yes this is always the same problem ! I have the Scripting Module but not enough knowledge to use it well !
I still need to learn how to script. I can't find many sources for training...
Someone knows a site for training or to download examples ?
- Wed May 14, 2025 8:50 am
- Forum: Flows
- Topic: Privatedata from filename
- Replies: 11
- Views: 51327
Privatedata from filename
Hello, and thank you for this forum. I want to detect some characters at the beginning of the file name in the flow to create a “myVariable/MyPrivateData” variable, with a regex : ([0-9]{4})(-123)(.*) = "toto" ([0-9]{4})(-456)(.*) = "titi" ([0-9]{4})(-789)(.*) = "tata" ...
- Thu Mar 27, 2025 9:27 am
- Forum: Flows
- Topic: failed attempts counter
- Replies: 3
- Views: 23031
Re: failed attempts counter
Hello Jeffreestar, yes, this is exactly what i planned to do until Jimmy spoke about the "RetryIt" app. I did not receive any training for scripting. I just know how to create a variable because i found a model. Do you know where I can find some examples or lessons to at least be able to c...
- Tue Mar 18, 2025 12:28 pm
- Forum: Flows
- Topic: failed attempts counter
- Replies: 3
- Views: 23031
Re: failed attempts counter
Whaou ! Thank you Jimmy !
- Tue Mar 18, 2025 12:14 pm
- Forum: Flows
- Topic: failed attempts counter
- Replies: 3
- Views: 23031
failed attempts counter
Hello, I use Enfocus Switch to send files to an SFTP server. Sometimes the copy on the server fails and the flow keeps the job for a few seconds and retries the copy, in a loop. I would like to add a counter that exits the loop after n attempts. I know how to create a ‘SFTPFailed = 1’ PrivateData wi...