Hi All
We have a number of FTP Shell scripts running every day on a scheduled basis.
The issue we have is if the host connection is not available after a little while ftp times out and the script hangs as the shell returns to the ftp> prompt waiting for input from a user.
Any ideas how... (2 Replies)
Hi all,
I am trying to transfer files from one server to another. Following is script i wrote for this purpose. It downloads the file to the server which the script is residing and uploads it to the remote server.
Main Script
#!/bin/bash -x
... (2 Replies)
Hi All,
I have written a script to FTP files from local server to remote server. When i try it for few number of files the scripts runs successfully. But the same script when i run for 200-300 files it gives me performanace issue by aborting the connection.
Please help me out to improve the... (7 Replies)
Hello All,
Request any one of Unix/Linux masters to clarify on the below.
How far it is feasible to open a new ftp connection for transferring each file when there are multiple files to be sent. I have developed shell script to send all files at single stretch but some how it doesnt suit to... (3 Replies)
Hi ,
I have a following code ,I need to send two files on FTP server using single code
UDL_FTIHOST_1=podftiapp02.com
UDL_FTIUSER_1=dbsunny
UDL_FTIPWD_1=sunny@11
UDL_FTIHOST_2=podftiapp01.com
UDL_FTIUSER_2=dbamy
UDL_FTIPWD_2=amy@12
count=2
i=1
while
do
FTIHOST=$(echo... (3 Replies)
Hi,
I have installed RHEL 5 on Vmware. I have configured a simple FTP. I am able to transfer and receive files from the vmware-RHEL to my desktop on which vmware is installed and vice-versa. But when i try from other machine in the network it fails. (2 Replies)
Hi everybody,
I would like to findout a directory or a file which is located at ftp server by connecting with ftp <ip> by using any other linux utility. I tried with find and locate commands in this manner but didnt work. Please help me.
Regards,
Mastan (1 Reply)
Hi All
I am using following code in my shell script to send the file to a mainframe server.
ftp -in $FTP_IP_SEND <<END_OF_FTP >$LOG_DIR/ProviderExportFTP.log
quote user $FTP_USER_SEND
quote pass $FTP_PASS_SEND
ascii
send ./ProviderExport.txt 'PROJ.PDRCACTS.FD87050.EXPORT' (REPLACE... (3 Replies)
HI Guys,
Issue::
While doing bye command on ftp, it just hings as below untill you try Ctrl+C
891 bytes received in 0.0017 seconds (526.16 Kbytes/s)
ftp> bye
221-You have transferred 0 bytes in 0 files.
I too have tried with other commands like, close, disconnect etc but no luck.
... (1 Reply)
In the automated process. due to space in between banking and critical, the below command is not working in the automated process. Can anyone help it out. If I am putting cd banking critical-Bas" and file get ftp'ed. but not through the below line
ftp -m "ftp.com" -d "banking critical-Bas" (4 Replies)