中文回答。我在debain系统,写了个.sh文件。但是链接ftp成功,上传0k 最后超时。
ftp -v -n << END
open ftp.1fichier.com
user moderator@tutamail.com kjhk897AAAA
type binary
put $WebBakName
bye
END
日志:
Connected to ftp.1fichier.com.
220-Welcome to 1fichier.com FTP Server. - Look at https://1fichier.com to subscribe.
220-Local time is now 05:14. Server port: 21.
220-This is a private system - No anonymous login
220 You will be disconnected after 15 minutes of inactivity.
331 User moderator@tutamail.com OK. Password required
230 OK. Current directory is /
Remote system type is UNIX.
Using binary mode to transfer files.
200 TYPE is now 8-bit binary
550 Could not delete hestiacp2025-ams_20250715.tar.gz: No such file or directory
local: hestiacp2025-ams_20250720.tar.gz remote: hestiacp2025-ams_20250720.tar.gz
200 PORT command successful
425 Could not open data connection to port 57883: Connection timed out
221-Goodbye. You uploaded 0 and downloaded 0 kbytes.
221 Logout.