Computing.Net > Forums > Unix > invoke bat file from FTP Urgent!

invoke bat file from FTP Urgent!

Reply to Message Icon

Original Message
Name: bengalliboy
Date: August 15, 2005 at 11:02:59 Pacific
Subject: invoke bat file from FTP Urgent!
OS: win2003
CPU/Ram: 522
Comment:

I really appreciate if some one please help me on this...
I am using FTP from UNIX (Solaris) to send a file to a win2003 server. I need to invoke a bat file which is on this windows server after the server get the UNIX ftped file. How do I do this? Can this be done inside my ftp command from UNIX or do I need to do this on Win2003 side? If so how? TIA


Report Offensive Message For Removal


Response Number 1
Name: Luke Chi
Date: August 15, 2005 at 12:31:11 Pacific
Reply: (edit)

In your Unix shell script:

1. non-secured:

ftp (or rcp) ...
rsh (or remsh) ...

2. secured (like kerberos , publickey or machine local password):

scp ...
ssh ...


Luke Chi


Report Offensive Follow Up For Removal

Response Number 2
Name: bengalliboy
Date: August 15, 2005 at 12:34:40 Pacific
Reply: (edit)

I am using FTP and have the logon on my (.nrcs) file but I can use any command that I need to... What do you suggest?


Report Offensive Follow Up For Removal

Response Number 3
Name: Luke Chi
Date: August 15, 2005 at 13:39:48 Pacific
Reply: (edit)

It depends on your company's security policy.

The secured way needs the complicated setup done before you are able to use it. So, if your company allows you to use the non-secured way, just use the non-secured way.

In your script:

ftp (or rcp) ...
... (then)
rsh (or remsh) ...

Luke Chi


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: invoke bat file from FTP Urgent!

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge