AnsweredAssumed Answered

ftp per shell script

Question asked by thk on Mar 29, 2010
Latest reply on Mar 30, 2010 by thk
Hi
I want to transfer a file per ftp to alfresco:

My shell script (called hourly from crontab):

ftp -n HOST < /tmp/ftp.input

the file ftp.input contains:

user LOGIN PASSWORD
cd subdirectroy
binary
put /Path/File
bye

If I just use ftp from command line I can put the file without problems but running the shell script aI get the error "command not recognized" when trying executing the put-command. I used the absolute path to File for put .

Is there anything special with ftp to alfresco, why its not working?

Thanks for help
Thomas

Outcomes