I have a script in which I am using ftp to transfer some files from remote -> local and vice versa, this scripts is invoked by cron. for your reference I am sharing the function also :
Now my problem here is that I can see some of the hanged client ftp processes when I issue "ps -ef | grep ftp" but this is very rare and till now it happend only 3 times while this is running from a long time.
I have checked in FTP server, I can not see any socket connection established for client, but at client side I can see.
If you replaced:
with
Then each run will append the log file and the error message will go into the log file also so you can then see what happened several cron runs ago.
It would then be advisable to use logrotate(8) or something similar to roll the log file at regular intervals.
I could have sworn I posted on this issue earlier a couple of weeks ago but now cannot find the thread to add some updated info so I guess I'll start from scratch.
Running on Oracle Linux 5.6, 64-bit.
I have a weekly job that does an ftp 'mget' to copy a bunch of files from a production... (12 Replies)
I am trying to transfer logs from Aix 6.1 to a linux appliance but it is not happening from last one month if i execute the batch command by command i can execute well but if i do it in shell script it is stuck without any error.
Any one know how to generate a FTP client trace to know the issue... (10 Replies)
Hi Friends
I have created a shell script to connect to a windows server. But the problem is while trying to run the script I am not getting any output. After running the script it is hanged and the prompt is not showing until if I press the ctrl+Z to break the script. I also tried using the FTP... (2 Replies)
We have RHEL 5.8 in our environment, I had a query whether we can implement an FTP server using vsftpd package and Linux configurations like setsebool without using any external FTP clients like FileZilla etc. I am very confused on this. The FTP functionalities that should be present are download &... (3 Replies)
We're just about to start testing a new server build. The application has many FTP/SFTP connections going to different servers. I'd like to temporarily replace the FTP/SFTP binaries with a mock version that will allow us to run all our production code as is, but will prevent the FTPs from actually... (1 Reply)
Can anyone please suggest a agood ftp client(GUI) which would support sftp ...on solaris.
I badly need it. I keep doing the transfers frequently, and some of them are binary and I am not sure how I change the mode to binary.
To avoid this and other hassles, it would help if i have a GUI client.
... (6 Replies)
I'm currently investigating the secure ftp connection from AIX using shell script - It looks openssl is already install and don't know command to be used to connect the secure ftp server.
1. Do I need to install certificate on AIX ?.
2. If any one already design the script to connect secure... (0 Replies)
Folks
I am on a quest....
I am looking for a lightweight FTP client capable of FTPS and or SFTP that has good audit and logging capabilities without requiring a central server component. My platforms are Linux, Solaris, AIX, and Windows Server.
The kicker is I have found things that meet the... (3 Replies)