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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -