Search found 8 matches
- Fri Aug 26, 2016 10:19 am
- Forum: Flows
- Topic: keeping file owner
- Replies: 3
- Views: 2763
keeping file owner
Hi there, I start a filing process of PDF files via drag&drop into a network share, Switch takes the files and starts the process, at that momet, the file owner is the switch user and the original file owner is lost. Is it possibe to keep the original file owner? I need that information in order...
- Wed Apr 06, 2016 9:57 am
- Forum: Scripting
- Topic: check via file.exists with wildcard
- Replies: 2
- Views: 1757
check via file.exists with wildcard
Hi there, I'm looking for a solution to check for a file in a specific folder, the file has a prefix PRD_ which is always the same but the filename itself changes with every job. Currently I check only if the folder exist, if not a sync process starts but sometimes the PRD_ file is missing. I have t...
- Tue Dec 30, 2014 5:50 pm
- Forum: Scripting
- Topic: sendto - send file to the right connection
- Replies: 13
- Views: 8751
sendto - send file to the right connection
Hello dkelly, great code, it works out of the box and now its more clear to me how the sendTo() function works. @gabrilp, I'm gonna take a look at your idea tomorrow, the flexebility it is quite obvious, but its a lot new stuff to understand for me :) Anyway, thanks everbody for all the help. Daniel...
- Mon Dec 29, 2014 8:50 pm
- Forum: Scripting
- Topic: sendto - send file to the right connection
- Replies: 13
- Views: 8751
sendto - send file to the right connection
The idea is simply to check folder 1 for a metadata file and if found then move on to workflow folder A. If check for folder 1 fails, then check folder 2 for another metadata file and move on to workflow folder B once found. I want it as simply a possible for the start, something like this. SentToSi...
- Mon Dec 29, 2014 4:19 pm
- Forum: Scripting
- Topic: sendto - send file to the right connection
- Replies: 13
- Views: 8751
sendto - send file to the right connection
nobody using sendTo() ?
sendTo( c : Connection, path : String, name : String )
Sends a file/folder to the specified outgoing connection, regardless of connection type.
sendTo( c : Connection, path : String, name : String )
Sends a file/folder to the specified outgoing connection, regardless of connection type.
- Mon Dec 29, 2014 12:44 pm
- Forum: Scripting
- Topic: sendto - send file to the right connection
- Replies: 13
- Views: 8751
sendto - send file to the right connection
Hi ArielRauch,
sounds it could fit to my challange, but it's also sounds complicated for my as a beginner.
Can you give me an example how to use the sendTo() function?
sounds it could fit to my challange, but it's also sounds complicated for my as a beginner.
Can you give me an example how to use the sendTo() function?
- Mon Dec 29, 2014 7:15 am
- Forum: Scripting
- Topic: sendto - send file to the right connection
- Replies: 13
- Views: 8751
sendto - send file to the right connection
Hello gabrielp, thx for your quick response, the traffic light connection is a way to do it but I would use the Errorcode to route the metadata file, I'm looking for a more elegant way. Here a bit more to the script, it checks first if in Windows folder A is a file which has the needed name, if so t...
- Sun Dec 28, 2014 8:16 pm
- Forum: Scripting
- Topic: sendto - send file to the right connection
- Replies: 13
- Views: 8751
sendto - send file to the right connection
Hello everybody, I'm new to Switch scripting and I'm trying to create a script which checks for file avalibity (in 2 Windows folders) and move on a metadata file to connection A or B. So far I could get the check part working but I still struggle on how to send the file to Switch workflow folder A o...