This is the bash code:
ftp -n <ftpadress> <<EOT <credentials> binary put $pathfile$reportfile $remotepath$reportfile put $pathfile$logfile $remotepathlog$logfile quit EOT
This is the output:
a <files_to_add> put <files_to_add_with_path> <files_to_add_with_remote_path> The parameter is incorrect.
I checked the arguments of the put command and they are correct. Finally I check in the FTP and is not there
I have two questions:
- Why is not transferred?
- What does the "The parameter is incorrect" mean?
IMPORTANT NOTE: The file to be uploaded to the FTP contained the colon in the file name