无法在 Windows 上通过 FTP 发送超过 1 MB 的文件

无法在 Windows 上通过 FTP 发送超过 1 MB 的文件

我尝试使用简单的批处理脚本通过 FTP 命令发送多个文件。当文件大小小于 1 MB 时,它工作正常,但当文件大于 1 MB 时,我收到以下错误日志。

要发送的文件:

    H:\dir\file1.xls         (aprox 500KB)
    H:\dir\file2.xls"        (aprox 500KB)
    H:\dir\folder\file3.xls" (aprox 1500KB) NOT SENT
    H:\dir\folder\file4.xls" (aprox 1500KB) NOT SENT

日志.txt:

    Conectado a www.mysite.com.
    220 ProFTPD 1.3.4a Server (ProFTPD Server) [::ffff:200.11.111.111]
    Usuario (mysite.com:(none)): 
    331 Password required for [email protected]

    230 User [email protected] logged in
    ftp> bin
    200 Type set to I
    ftp> put "H:\dir\file1.xls"
    200 PORT command successful
    150 Opening BINARY mode data connection for file1.xls
    226 Transfer complete
    ftp: 618496 bytes enviados en 3,28 segundos 188,51 a KB/s.

    ftp> put "H:\dir\file2.xls"
    200 PORT command successful
    150 Opening BINARY mode data connection for file2.xls
    226 Transfer complete
    ftp: 37888 bytes enviados en 0,00 segundos 37888000,00 a KB/s.

    ftp> put "H:\dir\folder\file3.xls"
    200 PORT command successful
    ftp> Desconectado.

    ftp> put "H:\dir\folder\file4.xls"
    quit

发送脚本

   ftp -s:comandosftp.txt ftp.mysite.com > logs.txt

命令

   [email protected]
   password
   bin
   put "H:\dir\file1.xls"
   put "H:\dir\file2.xls"
   put "H:\dir\folder\file3.xls"
   put "H:\dir\folder\file4.xls"
   quit

请问有什么建议吗?

相关内容