ftp-client

Apache Commons Net FTPClient and listFiles()

谁说我不能喝 提交于 2019-11-26 19:42:10
问题 Can anyone explain me what's wrong with the following code? I tried different hosts, FTPClientConfigs, it's properly accessible via firefox/filezilla... The problem is I always get empty filelist without any exceptions (files.length == 0). I use commons-net-2.1.jar installed with Maven. FTPClientConfig config = new FTPClientConfig(FTPClientConfig.SYST_L8); FTPClient client = new FTPClient(); client.configure(config); client.connect("c64.rulez.org"); client.login("anonymous", "anonymous");

Schedule automatic daily upload with FileZilla [closed]

眉间皱痕 提交于 2019-11-26 10:59:18
问题 I would like to use FileZilla to automatically upload PDFs to my GoDaddy hosted site daily, replacing the previous day\'s sheets. Is there any way to do this? I read online that batch files might work, could someone post a sample version of a batch file that would do the trick? 回答1: FileZilla does not have any command line arguments (nor any other way) that allow an automatic transfer. Some references: FileZilla Client command-line arguments https://trac.filezilla-project.org/ticket/2317 How