charles0681
Technical User
Please, your help.
I've trying to make a script for send a file via ftp and specific port I have tried of many different way but it not works.
I tried with the following code but when I run the script I receive a authentication error.
ftp -n '<ip> port' <<END_SCRIPT
quote USER
quote PASS
cd /path/dest
bin
prompt
put /dir/to/orig/file.txt
bye
END_SCRIPT
Thank you in advance
I've trying to make a script for send a file via ftp and specific port I have tried of many different way but it not works.
I tried with the following code but when I run the script I receive a authentication error.
ftp -n '<ip> port' <<END_SCRIPT
quote USER
quote PASS
cd /path/dest
bin
prompt
put /dir/to/orig/file.txt
bye
END_SCRIPT
Thank you in advance