10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have this code snippet:
sftp $USERNAME@$REMOTE_SERVER -omode=ascii >> $LOG_FILEPATH/$LOG_FILENAME 2>&1
ls /+showall
ls /+... (11 Replies)
Discussion started by: Jesshelle David
11 Replies
2. Shell Programming and Scripting
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have many scripts where i have used sftp for file transfer from unix box to unix box.. Now that we have to sftp files from unix to mainframe, i would like to know if that is possible.
I just tried in the same way i did from unix to unix, but i got the error as connection refused.
Are... (2 Replies)
Discussion started by: dnat
2 Replies
4. Shell Programming and Scripting
I need create a Shell script to do the SFTP process. How can i provide username and password in the script.I had the below code.But it ask for password.How can i add user name and password in this code
echo "OK, starting now..."
sftp -b /dev/fd/0 testwasds3l<<EOF
cd /opt/isproj/VOM/Scripts... (2 Replies)
Discussion started by: morbid_angel
2 Replies
5. Shell Programming and Scripting
Hi,
I am writing a shell script that securely connects to an UNIX host and transfer file(abc.txt) from the local machine to the host.
sftp user@host
get abc.txt
bye
The code doesn't work..
It throws error at line 2: get :Unknown get command.
How can I rectify this problem? (2 Replies)
Discussion started by: Kishore_1
2 Replies
6. Shell Programming and Scripting
Hi all
Not sure where I should be posting this so apologies if it's in the wrong section.
I'm trying to set up a system where we can copy a file (get) from a Windows server to a Unix server using SFTP in an automated way.
I've installed CoreFTP Server on the Windows server and can connect... (2 Replies)
Discussion started by: huskie69
2 Replies
7. Linux
Hi,
I have a request to install sftp on the Sco Unix Server.
Request you please let me know the process for the installation of SFTP on Sco Unix Server.
Thanks & Regards
Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies
8. UNIX for Dummies Questions & Answers
All
I am a VMS guy just learning UNIX.
My first task is to SFTP files from VMS to UNIX in BATCHMODE without having to enter a password. Note that using SFTP interactively works just fine.
I have followed some specific instructions provided by a vendor with no success. I have also read... (0 Replies)
Discussion started by: randyhouse
0 Replies
9. UNIX for Dummies Questions & Answers
I have the following UNIX script which copies a file from a UNIX server in Canada to a UNIX server in the UK.
LOG=/data/proj/sftp/canada.log
DAT=`date "+%d/%m/%y %H:%M"`
HOMEDIR=/data/proj/sftp
TGTFILE=P_DATA.csv
cd $HOMEDIR
echo "\nStarting retrieval of Canadian Data at $DAT" >> $LOG
... (1 Reply)
Discussion started by: mishnok
1 Replies
10. Shell Programming and Scripting
I am creating public and private key for sftp in ksh.
then copy the name1.pub file into /.ssh/authorized_keys directory in remote server.
Now my question is how to write that script which do not ask me for the password from prompt.
please help.
thanks in advance. (1 Reply)
Discussion started by: rinku
1 Replies