473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Regarding automated scp shell script from one sever to another server using or sftp

i want transfer one file from another server
$ cd /tmp
$ sftp orpcexdb@nacismktl210.com
Password:xxxx
sftp> cd /tmp
sftp> put filef
uploading filef to /tmp/filef
filef
sftp> ls
filea
filef
files
sftp> bye

but its not working can any one help me on thsi
Nov 13 '14 #1
2 4304
sicarie
4,677 Expert Mod 4TB
So that's not a script - those are individual commands. Have you confirmed you have permissions on this server to add new files?

Additionally, I'd HIGHLY recommend using ssh keys instead of passwords, but that's just me.
Nov 24 '14 #2
Luuk
1,047 Expert 1GB
If he does do a 'ls', and he sees the file, it is working

But i think he cannot find his file on the 'another server'

The problem 'its not working' is to vague to give correct answers to this question.
Nov 24 '14 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Chuck | last post by:
I am using an asp.net page and I am trying to setup a customers website. The website uses a ssl certificate from verisign and the customer would like to use the seal. The new style from VeriSign is...
4
by: russzee | last post by:
Hi, I want to populate my client's webpage (Remote Server) automatically through my Server and Database by having him just paste a javascript on his webpage. I have read up about Microsoft...
3
by: bikkaran | last post by:
Hi I have a function as below... function PerformQuery3 { $VAR1 = 'export to $1 of ixf messages $2.out "select * from $3"' echo $VAR1 SQL_CODE=$(db2 -ec +o $1) if ]
0
by: salom39 | last post by:
Hi, i'm new using mssql. I want to make a trigger that will send a string based on the record(table information) to another server. The other server is not an sql server and I want to know how can i...
0
by: kwilliams1130 | last post by:
I am having a problem with data that is being posted to another server. The problem is I collect the data from our database through an .cfm file (and all data is correct), which then the data is...
6
by: lawrence k | last post by:
Suppose I have a PHP script that I call at the Linux command line (Ubuntu), and it gets all the paths to files and directories that exist inside of some directory. All this data gets stored in an...
8
by: gupta24 | last post by:
i am in critical position please help we have machines a,b,c,d in each machine application servers are running but each machine have 40 application server are running result of 40 application...
1
by: orajit | last post by:
Hi am calling sqlloader inlow shell script #!/bin/sh sqlldr scott/tiger control=ulcase1.ctl log=ulcase1.log retcode=`echo $?` case "$retcode" in 0) echo "SQL*Loader execution successful"...
2
by: ashutoshrawat | last post by:
Hi I had 2 AIX system.i want to run a shell script on one machine, which will execute another shell script on another AIX machne. the 2nd remotely executed shell script will execute a java...
1
by: sindy90 | last post by:
Hi I have a perl script placed in the server! i would like to know as how i will b able to access it from my mobile phone and run on my mobile phone! please do help! Thanks in advance! Regards...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.