Search Results

Search: Posts Made By: toobrown1
Forum: Linux 10-08-2009
13,351
Posted By toobrown1
Thanks. I will try these options and report if...
Thanks. I will try these options and report if they are useful here. The constraint I have is I cannot use any external program like connect.c.
17,435
Posted By toobrown1
how many systems are connected to your network?
how many systems are connected to your network?
14,367
Posted By toobrown1
Configure SFTP client to use web/internet prox
I am writing a shell script which needs to connect to a remote internet ftp site over sftp. The problem is that the Red Hat Linux system on which the script will be executed resides behind a...
26,898
Posted By toobrown1
Thanks Girish. Here is the script ...
Thanks Girish.

Here is the script

#!/bin/sh
SERVER=<my-server-ip-address>
DIR=XYZ
FILE="$(echo ls -t | sftp -b- $SERVER:$DIR | head -n2 | tail -n1)"
echo get "$FILE" | sftp -b-...
Forum: Linux 09-10-2009
13,351
Posted By toobrown1
SFTP an internet address from a system behind an internet proxy
I was wondering if it is possible to setup SFTP to go through the internet proxy while connecting to an internet location.

Problem: Client system is behind internet proxy. SFTP to any internet...
26,898
Posted By toobrown1
Ken, Since I am moving to a dir when I do...
Ken,

Since I am moving to a dir when I do the sftp, the FILE variable is getting populated with "Changing directory..." message. Can you help me with a workaround., please?

Amit
26,898
Posted By toobrown1
Thank you very much. I will try this out and let...
Thank you very much. I will try this out and let you know how it went!
26,898
Posted By toobrown1
Hi Ken, Thanks for the response. Let me elaborate...
Hi Ken, Thanks for the response. Let me elaborate my situation;

1. Are you always fetching the same number of files? -- always getting one file.
2. criteria for what files to get -- The most...
26,898
Posted By toobrown1
Use cURL in shell script and get most recent file from remote server using SFTP
I have been trying to implement the following shell script --

sftp to remote server
get list of files in the directory
sftp get the most recent listed file
exit

This script will be scheduled...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 07:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy