Search Results

Search: Posts Made By: raj78
5,270
Posted By raj78
My code worked with the following alterations,...
My code worked with the following alterations, thanks for looking into it.


cd $dir
ls|while read file; do
if [ -f "$file" ]; then
ftp -inv <<END_SCRIPT
open hostname
user user password...
5,270
Posted By raj78
Sorry if there is confusion created, but i'm...
Sorry if there is confusion created, but i'm trying to ftp one zip file at a time in one ftp session. If there are 100 zip files in linux source directory then 100 ftp sessions should be created and...
5,270
Posted By raj78
I tried the following dir=data/dir1/dir2 # this...
I tried the following
dir=data/dir1/dir2 # this dir is linux source directory where zip files located.
rmtdir='/home/'
echo $dir
for i in /$dir/*; do
if [ -f "$i" ]; then
file=$i
ftp -inv...
5,270
Posted By raj78
Ftp multiple files one at a time
Hi,
I have a problem while ftp'ing zip files one after the other from linux source directory to a ftp host machine. here is the shell script:

#!/bin/ksh
dir=data/dir1/dir2 # this dir is linux...
Showing results 1 to 4 of 4

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