Search Results

Search: Posts Made By: rajeshas83
6,710
Posted By rajeshas83
Shell script for capturing FTP logs
I have a script
#!/bin/bash
HOST=ftp.example.com
USER=ftpuser
PASSWORD=P@ssw0rd

ftp -inv $HOST <<EOF
user $USER $PASSWORD
cd /path/to/file
mput *.html
bye
EOF

the script executes...
Showing results 1 to 1 of 1

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