| | | Forum 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 |
| | | | 
Time 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. |
| | | | Forum 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 |
| | | | Forum 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
|
| |
|
|