listing files from a FTP server directory in groovy -
I want to list all the files under a directory that is on the public FTP server.
I tried the following
New file ("ftp: //ftp.ex.yyy/a") .eachFile () {file-> Println file.getName () but I get an error
URI / sample / getstatus / index class java.io.FileNotFoundException message / user / Any help is appreciated
You can not understand an FTP site like your local file. This is the reason why you are getting this exception. Your code is looking at your local file system a little Being google Area after I found a code snippet for you. I will not be able to do not thinking without at least one third party library.
Comments
Post a Comment