executing a script file from command line

To the Ipswitch web site

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



executing a script file from command lineExpand / Collapse
Author
Message
Posted 8/2/2004 11:01:26 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/3/2004 3:50:00 PM
Posts: 2, Visits: 1

I would appreciate help on this.

The following script is contained on a file called script 20040707_001.scp

The code runs OK when I use the Scripting Utility, but when I try to run the

file from the command line, it brings up the WS_FTP_PRO URL HANDLER

which either takes me to ftp://ftpscrpt/ or to the FTP_PRO interface - neither being

what I want. From the Guide I understood that the script contained in the file can be

run from the command line by typing

ftpscrpt -f "C:\Program Files\WS_FTP Pro\My Scripts\script 20040707 001.scp"

and clicking OK.

I am using WS_FTP_PRO 7.6 on WINNT. I did add the FTP_PRO to the path variable in the system

environment.

THANKS!

TRACE SCREEN

LOG SCREEN

USER userid

PASS password

CONNECT IpAddress

CD /NCCI/Z_TEST\INCOMING

LCD \\ALBANY2\WCB1\APPDATA\ICEDI\POC\WC\z_test

MGET *.NCW

CD /NCCI/Z_TEST\OUTGOING

MPUT *.NCW

CLOSE

Post #496
Posted 8/19/2004 3:01:56 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 4/4/2006 1:39:00 PM
Posts: 10, Visits: 1

Am i not rigth or is this topic in the wrong section?



---------------------------

Samuel Pinard

Post #879
« 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: Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Hush, FTPplanet.com, Hugh Garber, WUP-PM, mmulryan@ipswitch.com, mswimm

PermissionsExpand / Collapse

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

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.109. 9 queries. Compression Enabled.