10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to sftp a file ABC_sysdate.csv (File name with system date and timestamp) to a temporary directory on the remote server and once the file is copied I've to move the file from temporary directory to the main directory with the same name.
I have to generate a new file every hour and repeat... (6 Replies)
Discussion started by: srinup
2. UNIX for Advanced & Expert Users
Hi All,While sftp from remote server an error (/) is coming before the file in a script.Please find the below log. The file is on home directory on remote server. (6 Replies)
Discussion started by: kiranparsha
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
4. Shell Programming and Scripting
We are using one unix script which is using sftp command and connect to remote server and get some file form remote server.
some time after running this script we are not getting any file .
Could you please tell us detailed validation that is there any problem with... (6 Replies)
Discussion started by: maheshkumar93@g
5. UNIX for Dummies Questions & Answers
Hi everyone, so I have a script create a login file to log into the sftp remote server, go to a certain directory and get the list of files in that direction into a text file in another folder (local folder). Here is the piece of code
echo "#!/usr/local/bin/expect -f" >>... (5 Replies)
Discussion started by: warmboy610
6. Shell Programming and Scripting
I have a requirement where I need to do SFTP connection to remote server, get the size of the file on remote server and depending on the size, i need to get the file onto local server.
Is there any command in SFTP to get the size of the file. I found one in FTP but not in SFTP (2 Replies)
Discussion started by: forums123456
7. Shell Programming and Scripting
I need to write a script in 415univ server which should go to 534unix server and move the files from there to windows server.
I am not able to get it bcoz sftp prompt is not allowing ftp command.
Can some one plz help me
Thanks in advance (3 Replies)
Discussion started by: himakiran9
I have 1. lappy
2. server A
3. server B
Now, what i need is to run a command from lappy that will sftp a file from server A to server B.
Please guide me to achieve this.
-akash (1 Reply)
Discussion started by: akash.mahakode
9. Shell Programming and Scripting
Hello, I would appreciate if any one can help me on this.
The below script start running at 12:30AM. Every 5 min, i go and check the remote site. If i see filewatch.txt over there, then i need to call another shell script and load the data into database. If i don't see that file, then i have to... (2 Replies)
Discussion started by: govindts
10. Shell Programming and Scripting
I am trying to create some folders on remote server with SFTP connection.
if the folder is exist then it is not executing the next commands.
i.e. if temp/folder is exist then it it not executing
mkdir $folder2 commands.
here is my code.
sftp -b /dev/fd/0 ... (0 Replies)
Discussion started by: vgs