Search Results

Search: Posts Made By: Sashanth_S
1,416
Posted By dennis.jacob
I guess you are not looking for SFTP , and not...
I guess you are not looking for SFTP , and not SMTP [for mailing].

Here is a sample SFTP program


sftp username/password@server_name <<EOF
lcd local_directory
cd remote_directory
put...
1,416
Posted By Amaravathi
This is just to give you a clear understanding of...
This is just to give you a clear understanding of how ftp will do in failed cases ....

ftp copy will not give you an error status of "1" even when it is failed , because the last command that...
1,416
Posted By panyam
Add this at the end of dennis.jacob's proposed...
Add this at the end of dennis.jacob's proposed code.


[ $? -eq 0 ] && mail -s "File Transfer is OK" abc@gmail.com
Showing results 1 to 3 of 3

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