The FTPGetFile doesn't find it because by default it uses comma "," as a list separator, so in you case if you specify the full file name it thinks that you are going to download two files. To change this default behavior change the list separation symbol to something else, for example to change it to "%" use FTPConfig "LIST SEPARATOR", "%" Then you can do FTPGetFile with a full file name : Hi : Is it possible to change the remote FTP-Directory ? : Want to do something like: FTPDir( "1.10.0.0.12", USER, PW, : "/u1/AKLIVE/salog/SVITAMASTER*", tmpRemoteDIR ) : "/u1/AKLIVE/salog" is not the initial directory after login : The "tmpRenmoteDIR" looks like : : "SVITAMASTER001,SVITAMASTER002) etc. : If I try to use: FTPGetFile( "1.10.0.0.12", USER, PW,tmpRemoteDIR, : tmpRemoteDIR ) : The GET doesn't find the files ... what can I do ? : Thanks : Kenneth Roberts
|