目錄
報錯:425 Can't open data connection for transfer of "/"
報錯:Warning: FTP over TLS is not enabled, users cannot securely log in.
報錯:You appear to be behind a NAT router. Please configure the passive mode settings and forward a range of ports in your router.
解決方案:
“Edit”-“Setting”或直接點擊設置按鈕(齒輪);選擇“Passive mode settings”選項卡,勾選“Use the following IP:”並填寫服務器的IP地址,之后點擊“OK”保存
報錯:425 Can't open data connection for transfer of "/"
原因:沒有設置“Use custom port range
”,使用Passive Mode模式造成的。
解決方法:在上面的設置窗口中要勾選該項,設置端口范圍,並在后面的防火牆設置中,將端口范圍加入到入站端口中。
報錯:Warning: FTP over TLS is not enabled, users cannot securely log in.
解決方法:啟用TLS傳輸,具體操作如下:
1、“Edit”-“Setting”或直接點擊設置按鈕(齒輪);
2、選擇“FTP over TLS settings”選項卡,點擊“Generate new certificate...”;
3、生成驗證時Key size”根據自己的喜好選擇即可,其他信息可以根據自己的情況隨意填寫,然后選擇保存地址(最好放到安裝路徑下) “;
4、其中的Common name(Server address)
是連接時使用的域名或IP,如我這里填寫pro.ftp.cool.com
,后面用客戶端連接時,主機(H)
就填寫pro.ftp.cool.com
。同時還需要將該域名解析到FTP服務器的外網IP。Key size
最好選擇4096bit
名稱默認為“certificate.crt”就好,最終選擇生成;
提示“Certificate generated successfully”則說明生成沒有問題,點擊“確定”關閉彈窗;
點擊“OK”保存設置;
之后的信息提示不再出現警告。
報錯:error:02001002:system library:fopen:No such file or directory (0)
原因:尋找證書文件時沒有找到
解決辦法:重新生成證書,證書填寫完成后,save key and certificate to this file一定要保存,點擊browse保存證書