Java program and vsftpd failed to upload files on the same machine. The file size is 0

Alibaba cloud Q & A 2022-02-13 07:21:59 阅读数:751

java program vsftpd failed upload

java Procedure and vsftpd Failed to upload file on the same machine , File size is 0, What do I do , Cloud server , When the program runs locally , You can upload files normally , When the program is running on the server , Can't upload , They're on the same machine ,FTP The default is active mode

Take the answer 1:

Hello! , Please operate in passive mode .

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you.