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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

invoke bat file from FTP Urgent!

Reply to Message Icon

Name: bengalliboy
Date: August 15, 2005 at 11:02:59 Pacific
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



Sponsored Link
Ads by Google

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

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


0

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

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?


0

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

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: invoke bat file from FTP Urgent!

Run a win32 file from maped drive www.computing.net/answers/unix/run-a-win32-file-from-maped-drive/7081.html

Regarding moving files from FTP sit www.computing.net/answers/unix/regarding-moving-files-from-ftp-sit/8253.html

FTP excel file from NT to Unix box www.computing.net/answers/unix/ftp-excel-file-from-nt-to-unix-box/5315.html