linux - getting list of files from FTP - Server via NCFTPLs -
i have ftp server running , want list files on ncftp client. when start ncftp with:
ncftp ftp://user:password@ip ncftp> ls
everythings works great. problem here want automate process , list proceed further. decided use:
ncftpls ftp://user:password@ip
but error thrown: "could not read reply control connection: connection reset py peer".
i have tried same commands other ftp-server, there both work fine.
i can't configure other ftp-server hope can make ncftpls work steps start program ncftp , doing ls.
i saved debug log "-d" @ ncftpls, here last few lines:
cmd: nlst -cf 150: opening data channel directory listing of "/" 226: transferred "/" cmd: quit 221: goodbye
so think server should response right way. maybe it´s kind of firewall problem, dont understand why "ncftp" working , "ncftpls" not.
Comments
Post a Comment