Search Results

Search: Posts Made By: WayneSallee
2,043
Posted By WayneSallee
Here is the working code simplified: ftp...
Here is the working code simplified:


ftp -n <<EOF
open ftp.$server
user $user@$server $password
prompt
ls -l sizeonserver.txt
EOF
myappendsize=$(awk '/security.mpg/ {print $5;}'...
2,043
Posted By WayneSallee
I used the prompt command to stop it from...
I used the prompt command to stop it from prompting.

Thanks everyone for your help.
It's solved.

I'll get some sample code up soon for others searching with this same need.

Wayne Sallee...
2,043
Posted By WayneSallee
Thanks! Yes it accepts that command, It...
Thanks!

Yes it accepts that command, It won't create the file. So anyone else wanting to do this, remember to create the file for it to save to first.
output to local-file: filename?Press enter...
2,043
Posted By WayneSallee
Ftp with bash, append file where left off
I'm working on a bash script to finish uploading a file.

I need a way to get $filesize so that "restart $filesize" will work.

Here is my script:
ftp -n -v <<END_SCRIPT
open ftp.$domain
user...
Showing results 1 to 4 of 4

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