You right Chris, I'm tryingo to do a ftp from a linux computer to Windows Server but when I try I did receive the error previously mentioned if I do ftp manually I can open the FTP conection, but when I try to do fpt via script I receive the same error. I did open the port 20 and 21 it should...
Hello Chris, thanks for your comments.
Yes it has.
I wrote so as an example but maybe I must to be most specific with the code.
ftp -n '<ip>' 'port' <<END_SCRIPT
quote USER ftpuser
quote PASS ftppassword
cd /path/dest
bin
prompt
put /dir/to/orig/file.txt
bye
END_SCRIPT
Error shown
Connected...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.