06-09-2009
bat file to connect UNIX server.
Hi,
i am trying to connect to unix server from windows bat file using telnet command. But bat file is unable to pass username and password hence could not login to UNIX.
My requirement is to connect UNIX server from .bat file and run few macros at a perticular schedule. My UNIX login does not have the access to use crontab hence i am going for windows bat files.
I googled a lot to get the answer for - how to connect UNIX from windows bat file but not getting any proper answer.
Plz help!!
Thankx in advance.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have created get_list.bat file containing following line:
dir /B /O-d >file_list.txt
I am executing ftp command from Unix box and transferring get_list.bat file to windows server.
In my next ftp command I am trying to execute this test.bat file by entering this line:
get_list
or by... (9 Replies)
Discussion started by: alx
9 Replies
2. UNIX for Dummies Questions & Answers
How can I conncet web server via web?
What are the pre- requist?
I am having only one Public IP, I am useing SCO OPEN SERVER 5.0.5
Help Me.
Thanks in advance (3 Replies)
Discussion started by: max_san007
3 Replies
3. UNIX for Advanced & Expert Users
Hi
Can anyone tell if it is possible to connect from Unix to t a remote windows environment and run a .bat script.
Do SSH/SFTP... serve my purpose..if s how....
if not which commands or scripts will help with my requiremnt.
points on this are greatly honoured.
Thanks in advance.
:) (1 Reply)
Discussion started by: lakshmis10
1 Replies
4. Shell Programming and Scripting
Hi,
I would like to connect UNIX server to UNIX server through shell scripts
and i have some concepts . But i am totally confused how to connect UNIX
server to UNIX server throuth running a script. It will be greatful to me if
any buddy will help me.
Thanks in advance.
Phatan:) (2 Replies)
Discussion started by: phatan
2 Replies
5. Shell Programming and Scripting
Hi,
I would like to connect UNIX server to UNIX server through shell scripts
and i have some concepts . But i am totally confused how to connect UNIX
server to UNIX server throuth running a script. It will be greatful to me if
any buddy will help me.
with simple example please.
Thanks in... (2 Replies)
Discussion started by: phatan
2 Replies
6. Windows & DOS: Issues & Discussions
Hi
i am writing a script in unix where after some validations, i require the script to connect to a windows server and then kich off a batch file there. i tried ftp and got the error message that "the remote host refused an attempted connect operation".
I am able to connect to this unix... (4 Replies)
Discussion started by: vidzz911
4 Replies
7. Programming
Is there any possibility to develop an application using Visual Basic that connects to a unix server (using SSH) and run some commands?
I will try to describe what i need :
The user should enter the server adress, username and password!
Than the user must enter some "filenames" and after... (10 Replies)
Discussion started by: SuperDuck
10 Replies
8. Solaris
Hi everyone, I am new to Unix and looking for help here.
we have four terminals connected to our solaris server (x86 based).
the server got an interface card which provide serial port and video port for all chained terminals in a serial way. All these clients have no IP and they all display... (3 Replies)
Discussion started by: Cheong
3 Replies
9. Emergency UNIX and Linux Support
Hi All
Can any one please help me about
How to connect Unix with Sql Server 2005
I want to do it urgently and i didn't find the way. (14 Replies)
Discussion started by: parthmittal2007
14 Replies
10. UNIX for Dummies Questions & Answers
I know nothing about Linux/Unix. The fact that it is Linux/Unix is what someone told me the server is. It has been set up with the work stations in my home and would connect to the internet (DSL) and work with the other stations. We now have an actual office that does not have DSL, but rather has... (2 Replies)
Discussion started by: BgDunbar
2 Replies
GFTP(1) General Commands Manual GFTP(1)
NAME
gftp - a graphical ftp client
SYNOPSIS
gftp [options] [[proto://][ user : [pass] @] site [: port ][/ directory ]]
DESCRIPTION
gFTP is a multiprotocol file transfer program for X Windows and the console. It features support for the FTP, SSH, HTTP, and local file
system protocols, simultaneous downloads, resuming of interrupted file transfers, file transfer queues, downloading of entire directores,
ftp and http proxy support, remote directory caching, bookmarks menu, stop button and many more features
OPTIONS
You may enter a url on the command line that gFTP will automatically connect to when it starts up.
--help, -h
Display program usage, and quit
--version, -v
This will display the current version of gFTP, and exit
--download, -d
This tells gFTP to download the files and directories specified in the url passed on the command line.
user This is the username that you will login as to the remote site. If no username is supplied, the default is to login as anonymous.
pass This is the password you will use to login to the remotesite. If you do not enter a password, then gFTP will ask you for one when it
starts up. I do not recommend entering your password on the command prompt. Anyone that has access to your machine will be able to
see your username and password with the ps(1) command. If you are logging in as anonymous, you do not need to pass a password since
gFTP will automatically send your email address as your password.
site This is the remote site you want to connect to
port This is the port that the remote server is listening on. If you do not enter a port, it will default to using the ftp port listed in
the services(5) file. If the entry doesn't exist there, it will default to port 21.
directory
This is the default directory to change to once you are connected to the remote server.
FILES
~/.gftp/gftprc
Per user configuration file. This file is commented very well, so that is why there isn't a manpage for it. Most of the options in
here can be set inside gFTP itself.
BUGS
If you find any bugs in gFTP, please report them directly to the author.
AUTHOR
Brian Masney <masneyb@gftp.org> - http://www.gftp.org/
FEBURARY 2001 GFTP(1)