set the FTP directory to /DAVE
set "Process these Folders" to "No Folders"
set the "Subfolder Levels" to 0
this should do the trick
Search found 84 matches
- Thu Sep 29, 2016 12:36 pm
- Forum: Flows
- Topic: Exclude subdirectories from FTP pickup
- Replies: 6
- Views: 5525
- Tue Sep 27, 2016 5:18 pm
- Forum: LEGACY scripting
- Topic: Switch scripting .sscript inflating pre-commit hook
- Replies: 10
- Views: 10599
Re: Switch scripting .sscript inflating pre-commit hook
Solution according to Enfocus is to keep developing in an old SwitchScripter 13 version. They implemented the encryption because of the introduction of the appstore. I disagree to that solution. Your hacky solution is working but it just stays... hacky. Adding another step to the hackiness of the so...
- Mon Sep 26, 2016 12:41 pm
- Forum: LEGACY scripting
- Topic: Switch scripting .sscript inflating pre-commit hook
- Replies: 10
- Views: 10599
Re: Switch scripting .sscript inflating pre-commit hook
for the record: this stopped working in Switch 13 update 1, the unpacked scripts are now unreadable
- Fri Dec 18, 2015 12:06 pm
- Forum: LEGACY scripting
- Topic: Switch scripting .sscript inflating pre-commit hook
- Replies: 10
- Views: 10599
Re: Switch scripting .sscript inflating pre-commit hook
this is by the way amazing! Thank you for doing this!
- Fri Dec 18, 2015 10:07 am
- Forum: LEGACY scripting
- Topic: TIL: mapping multiple Statement() against one DataSource() is a bad idea
- Replies: 0
- Views: 4111
TIL: mapping multiple Statement() against one DataSource() is a bad idea
just FYI, there obviously is a difference between: var dbConn=new Datasource(); dbConn.connect("dsnname"); var orderSQL=new Statement(dbConn); orderSQL.execute("SELECT id FROM orders"); while( orderSQL.isRowAvailable() ) { orderSQL.fetchRow(); var orderID=orderSQL.getString(0); v...
- Wed Apr 29, 2015 3:49 pm
- Forum: LEGACY scripting
- Topic: Date in UTC?
- Replies: 2
- Views: 4038
Date in UTC?
All,
i want to dump the a Date (in my case the lastModified of a file) to String, but in UTC.
Any suggestions on how to convert taking DST into account? I fear this is another call to an external programm...
Cheers,
tz8
i want to dump the a Date (in my case the lastModified of a file) to String, but in UTC.
Any suggestions on how to convert taking DST into account? I fear this is another call to an external programm...
Cheers,
tz8
- Fri Apr 24, 2015 1:54 pm
- Forum: LEGACY scripting
- Topic: AWS Switch Scripting Project
- Replies: 12
- Views: 13992
Re: AWS Switch Scripting Project
for you mac guys out there, some nice person actually included awscli in the macports to install (given that you have macports installed already): sudo port selfupdate sudo port install py27-awscli py27-pip port select --set pip pip27 sudo -H pip install awscli then you can work with aws on the comm...
- Thu Feb 26, 2015 4:17 pm
- Forum: LEGACY scripting
- Topic: Help with RegEx
- Replies: 10
- Views: 10375
Re: Help with RegEx
i'm hinting everyone to this fantastic site then that i normally use to find out what doing with regexes: regexr.com
- Thu Feb 26, 2015 12:06 pm
- Forum: LEGACY scripting
- Topic: Help with RegEx
- Replies: 10
- Views: 10375
Re: Help with RegEx
let me fix that one:loicaigon wrote:Hi,
As bens said, many solutions. Might this one be "lighter" :Code: Select all
var theRegex = /.+-.+-(.+)/;
Code: Select all
var theRegex = /^[^-]+-[^-]+-(.+$)/;
- Thu Feb 26, 2015 12:02 pm
- Forum: LEGACY scripting
- Topic: reading encoded URL from file or stdout error
- Replies: 2
- Views: 3602
Re: reading encoded URL from file or stdout error
everyone, to wrap this up... the error i had was because i needed logging to find out why something that was working on the command line was not working out of switch - and logging URLencoded stuff messes up logging. Why was the command failing in switch that was perfectly fine on the command line? ...
- Fri Feb 06, 2015 11:27 pm
- Forum: LEGACY scripting
- Topic: reading encoded URL from file or stdout error
- Replies: 2
- Views: 3602
reading encoded URL from file or stdout error
Hi, i have a weird thing i need help with: var uri = HTTP.encodeURIComponent( "http://bla.foo.bar/foo/bar.xml" ); var f = new File( "/tmp/foo.txt" ); f.open( File.WriteOnly ); f.write( uri ); f.close(); f.open( File.ReadOnly ); var uri_read = f.read(); f.close(); uri_read; the fi...
- Fri Oct 10, 2014 2:32 pm
- Forum: LEGACY scripting
- Topic: Transferring Metadata to PrivateData
- Replies: 21
- Views: 14283
Transferring Metadata to PrivateData
right you are! And for every job....
- Fri Oct 10, 2014 2:31 pm
- Forum: Applications
- Topic: transform SmartStream Designer created PDF/VT to 'normal' PDF
- Replies: 10
- Views: 11936
transform SmartStream Designer created PDF/VT to 'normal' PDF
just an update on Quite on this issue... seems they might have found a solution. We have done more research on PDF/VT, including reading the original ISO standard. We have found that there is a lot of misinformation about PDF/VT and we have only added to it with our own incorrect information. So her...
- Wed Oct 08, 2014 11:50 am
- Forum: LEGACY scripting
- Topic: Transferring Metadata to PrivateData
- Replies: 21
- Views: 14283
Transferring Metadata to PrivateData
i think you miss some basic parts on how to work with the SwitchScripter ;) If you want to have Metadata in SwitchScripter to fiddle around with you need to declare it in the Properties Pane: http://www.enfocus.com/manuals/DeveloperGuide/SW/12/en-us/common/sw-ori/reference/r_switchscripter_propertie...
- Tue Oct 07, 2014 3:41 pm
- Forum: Applications
- Topic: transform SmartStream Designer created PDF/VT to 'normal' PDF
- Replies: 10
- Views: 11936
transform SmartStream Designer created PDF/VT to 'normal' PDF
well... it actually is InDesign who creates the PDF (indirectly, yes) - and reopening in InDesign to write as PDF again kinda doubles the load from this workflow.
I thought that there is some kind of Acrobat 'save as...' script i could use to get rid of the PDF/VT additions...
I thought that there is some kind of Acrobat 'save as...' script i could use to get rid of the PDF/VT additions...