Script Fails under Vista

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Script Fails under VistaExpand / Collapse
Author
Message
Posted 8/19/2008 3:35:00 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/3/2008 12:55:22 PM
Posts: 3, Visits: 25
Hi,
I'm a German developer for Paradox applications (using OPAL) and have run for years successfully (as a private tool) ftpscrpt.exe with a download-script under XP. The script was started from within an app (using OPAL)
Here the few lines which did it:
>>>
stProgPfad="\"C:\\Program Files\\WS_FTP Pro\\ftpscrpt.exe\""
stScriptPfad="\"C:\\Users\\Egbert\\Documents\\WSFTP_Scripte\\"
stScriptPfad=stScriptPfad+iif(Laura,"HoleAccessLaura.scp","HoleAccessEgbert.scp")+"\""
stProgZeile=stProgPfad+" -f"+stScriptPfad
execute(stProgZeile,yes,ExeShowNormal)
<<<
I guess you'll understand the lines - it's not so different from other programming languages.

Since short time I have to use VISTA and bought WS_FTP 2007 Pro Vista-compatible. Now the start of the script fails. I firstly had to start the Paradox-app as administrator to avoid an error message using the script (missing rights etc.). However, what now happens is: I get a message window showing me the options for the commandline parameters and that's it.

I can start the script debug window manually and get there the script to run correctly, however no other way. To test it more I assigned within Vista the extension scp to ftpscrpt.exe and tried to start the script by double-clicking in the windows explorer. Same result: it lists the commandline parameters.

Probably I've missed something specific using Vista, but what?
Any clue would be greatly appreciated!
TIA
Egbert
Post #46373
Posted 8/20/2008 8:31:55 AM


Time Traveler

Time TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime TravelerTime Traveler

Group: Forum Administrators
Last Login: Yesterday @ 4:20:34 PM
Posts: 169, Visits: 390
Instead of calling ftpscrpt.exe, change it to ftpscrpt.com and that should take care of the issue.

Travis G.
Ipswitch, Inc.
Post #46397
Posted 8/20/2008 2:03:14 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/3/2008 12:55:22 PM
Posts: 3, Visits: 25
Hi - thank you!

Well, this indeed changed the situation. I now get the debug window without running the script. But that might be something within Paradox, because I get an OPAL-error-message.
I'll take care of it and will report here what turns out the next days.

Thanks a lot!

Egbert
Post #46411
Posted 8/20/2008 6:10:31 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/3/2008 12:55:22 PM
Posts: 3, Visits: 25
I'm happy, the .com-version works like a charm!
The reported error was indeed something within Paradox, typo because of intensive testing/rewriting.

Thank you very much - you saved me a lot of time and anger!

Egbert

Post #46422
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Jason Williams, Hush, FTPplanet.com, LDW, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm, Travis G.

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 5:18am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Enabled.