Script fails in ver 15 but works in 14

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Script fails in ver 15 but works in 14

Post by kpassaur » Thu May 07, 2020 2:01 pm

I am having trouble getting a compiled script to work that uses ftp. I posted it looking for help. In trying to get it to work I upgraded my version of MS, it does not work in ver 15 but does in ver 14.

In trouble shooing I have reduced it to just compiling 2 lines the get and result so it is not something else in the larger script.

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: Script fails in ver 15 but works in 14 - example

Post by kpassaur » Fri May 08, 2020 10:43 am

Example of failing script. Keep in mind this works in ver 14 but fails when compiled - it used to work when compiled but not anymore. It does not work in ver 15 compiled or not. To test it you need a folder c:\temp. There are no files in the folder so it will return a message box saying "Success" and then open a blank text file (there are no files in the folder).

Also in the help file the link to OpenSSL fails and MS ver 15 does not seem to use the latest ver of OpenSSL

I will change the password once this is corrected.

FTPGetDirList>www.pdfprocessing.com,ph19234954251,ABCabc123!,21,C:\TEMP\dirtext.txt,/,*,L
MDL>FTP_RESULT
ExecuteFile>C:\TEMP\dirtext.txt

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: Script fails in ver 15 but works in 14

Post by kpassaur » Fri May 08, 2020 11:35 am

Got it, with ver 15 you have to specifically go into windows firewall and allow it. You didn't have to do that with ver 14.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Script fails in ver 15 but works in 14

Post by Marcus Tettmar » Mon May 11, 2020 3:18 pm

From experience with Windows Firewall you've ALWAYS had to do that with ALL apps that do a networking thing.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: Script fails in ver 15 but works in 14

Post by kpassaur » Mon May 11, 2020 3:24 pm

I'm still having issues. I can't get it to work on port 921. I have opened the port and I have tried every option. Is there anyway i could privately send you the settings and script and have you take a look.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1389
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Script fails in ver 15 but works in 14

Post by Dorian (MJT support) » Tue May 12, 2020 9:29 am

Email sent to support at MJTnet.com is only ever seen by Marcus and I, so feel free to do that.
Yes, we have a Custom Scripting Service. Message me or go here

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Re: Script fails in ver 15 but works in 14

Post by kpassaur » Tue May 12, 2020 12:55 pm

Thank you, but I got it to work on one machine so it is not a MS error. For troubleshooting what I did was use FileZilla and when it logged in I saw what it was using for settings and specified them in MS. That was one machine; I still had errors on others. I ended up recompiling everything and updating the versions of OpenSSL. In other words on some machines you need the later version of OpenSSL. I still may have some issues but I think I have got it.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1389
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Script fails in ver 15 but works in 14

Post by Dorian (MJT support) » Tue May 12, 2020 2:09 pm

That's great to hear!
Yes, we have a Custom Scripting Service. Message me or go here

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts