I want to upload a file to remote server through ftp
daily.Can anyone suggest how to make a shell script for
that.I hv credentials for that ftp
Answer / geichel
#!/bin/bash
/bin/ftp -inv ip_address_of_target_station<<ENDFTP
user ftpusername ftpuserpassword
cd folder_on_target
bin
lcd folder_on_local
put filename.txt
bye
ENDFTP
# Alternatively some ftp packages let you put a script in
$HOME/.netrc
| Is This Answer Correct ? | 2 Yes | 0 No |
Explain about the slow execution speed of shells?
Write a shell program to test whether a given number is even or odd?
Print the 10th line without using tail and head command.
What does echo mean in scripting?
Why are there shells on the beach?
What are the advantages of shell script?
Which is best institute for testing tool?
why did you apply to shell
Why is a script important?
Hi Friends, I am currently Undergoing Course On Testing.I am Planning To Keep Fake Resume.Can any One tell me the ways to Prepare i.e, Real Time experience For Manual Testing. With Regards, Vikram
What are filters explain sort with all the options available?
What is inside a seashell?