Connect to a FTPS server within shell script -
i'm trying connect ftps (explicit tls ftp) server within shell script , i'm kinda confused. tried using regular ftp command, 534 error "policy requires ssl" , 504 "security mechanism not implemented"
ftp -inuv myhost
returns 504 then
quote user myuser
returns 534
i tried sftp "couldn't read packet: connection reset peer". damn peer making life nightmare since irc ;)
sftp myuser@myhost:mydirectory/ -p21
connexion reset peer , says can't connect port 22, weird since specified port 21...
thanks help
there diference between ftps , sftp : sftp ftp on ssh, in case cannot use sftp. ftps ftp use ssl/tls
you need ftp client manages tls, instance http://lftp.yar.ru/ (found on net)
Comments
Post a Comment