10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm making an sftp-connection to a remote server. I want the result of an ls-command in a local file and the result of ls on another folder in another local file. Because everything has to go as fast a possible I wan't to do everyting in one connection.
The command I use is : psftp -v -batch -b... (4 Replies)
Discussion started by: pistach
2. Shell Programming and Scripting
I am trying to automate an sftp command so that it does not stop and ask for the password each time
the calling shell script
sftp -b tst_1_batchfile.txt GLAXGBUPMPSOUT@184.108.40.206
the batchfile contents :
put... (4 Replies)
Discussion started by: Shrabanti
3. Shell Programming and Scripting
I've got a C program that is using execlp to run a non-interactive sftp (using a batchfile) session to send some files to another system.
Just before doing that, I create the batchfile called sftp_batch on the fly:
put test.file... (2 Replies)
Discussion started by: Fiaran
4. Shell Programming and Scripting
Please let me know how do I execute some of the shell commands like cat, find ,grep within sftp.
Any help in this regard would be greatly appreciated.
Thanks, (5 Replies)
Discussion started by: tommy1
5. Shell Programming and Scripting
I have created a script for an sftp transfer that works without a date variable being passed, I want it to work with a date variable being passed.
So, my initial script, mainsftp.sh, looks like this:
#... (1 Reply)
Discussion started by: j_miller
6. Shell Programming and Scripting
Is there a way to use wc, sed or other commands against remote sftp in a regular shell script?
wc -c *.* | grep total | sed s/total// ?
thanks in advance (0 Replies)
Discussion started by: chm0dvii
7. Shell Programming and Scripting
Several of our end-users need to send a file to our insurance carrier using ssh and sftp. We've put together a Windows VBS script that opens the ssh tunnel and calls sftp with the -b option pointing to a batch script in the same directory, however sftp doesn't seems to be reading from the... (1 Reply)
Discussion started by: kmw
8. UNIX for Advanced & Expert Users
I am in the process of migrating all my FTP data flows into SFTP to make data more secure...
I have used many quote site commands in our FTP sesssion.
In SFTP i found that there is no option to do such commands.
Does any body here know to overcome the current situation.
Regards,... (2 Replies)
Discussion started by: Astra
9. Shell Programming and Scripting
I am writing a script for sFTP using batchfile option (-B). My script is supposed to monitor a certain directory for several files and when they are found I will send them to a testing server. So using a static batchfile wouldn't be feasible, I am just wondering if anyone can show... (0 Replies)
Discussion started by: mpang_
10. Shell Programming and Scripting
I'm trying to make use of some common generic functions already present in the scripts loaded in the environment.
A variable VAR1 is declared and used in the generic functions.
Its value is also set in the generic function.
Now I need to use that generic function for PURGING of some old files... (2 Replies)
Discussion started by: livetaurean19