If their is such a thing as a command line version of a SSH client for windows ( at SSHWindows.SourceForge.Net: OpenSSH for Windows perhaps?) and you set up SSH keys to allow password-less login then you can then run from a batch file:
which will then run "/path/command" as the user "username".
Hello All,
Could someone help me out with this? I want to incorporate this into an existing script so the output of a SAS job can be ftp'd from our UNIX box to a directory on a drive in Windows environment. Can this be done with no extra third party software? We currently use Putty for copy... (2 Replies)
Hi,
I m trying to connect/establish FTP from unix shell script to my PC.Below the script i have written
#!/bin/ksh
ftp -v -n ddcappip01.com << "EOF"
user Amit jason
bye
EOF
------------------------------ERROR--------------------------
but i m getting the below error for the... (4 Replies)
hi,
I have an unix script and i'm executing from command prompt in windows.
The script is exiting immediately when i call the script.But the script is getting executed at the back end.
But when i type sh at command prompt i'm getting $ sign and i can see the execution of script.
Is there... (5 Replies)
Hi,
When I run the below script in UNIX it's throwing syntax errors. Actually it's a windows batch script. Could anyone change the below Windows Batch script to UNIX shell script...
Script:
REM :: File Name : Refresh_OTL.bat
REM :: Parameters : %1 - Region
REM :: : %2 - Cube Type
REM ::... (5 Replies)
Hi ,
I need to ftp some input files from windows to unix server.All the files will be saved in the C drive in my machine.Currently all these files are transferring manually to the unix server.I need to write a shell script which ftp the files from windows to unix box.When I searched in the forum i... (1 Reply)
I want to perform few post-session success tasks like update a status to 'true' in one of the sql database table, update date values to current system date in one of the configuration table in sql. How do i achieve this in a post session command?syntax with example will be helpful. (3 Replies)
Hi,
Is it possible to ftp a huge zip file from windows to unix server using unix shell scripting?
If so what command i need to use.
thanks in advance. (1 Reply)
Hi,
I am working on a sever A.
I want to write a perl script to execute a shell script persent on the server B.
please help me in this.
thanks in advance. (3 Replies)
how to execute shell script present in unix machine remotely from windows?
I having a shell script in my unix machine, need to execute the script remotely from my windows machine using Visual Basic or VBA macros.
Thanks In Advance.
--Suresh (1 Reply)
Discussion started by: sureshmani
1 Replies
LEARN ABOUT REDHAT
gftp
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)