I need to know the size of a FTP folder. I’m trying to enumerate all the elements in the folder a get the size of each one but it doesn’t work with subfolders. The size of the files inside the FTP folder is correct but the size of the subfolders is always 0. Does anyone know how to do this?
Thank you in advance,
I guess the You need to recursively call the sub folders also and check the sizes of files inside it
But the subfolders also have other subfolders so there is no limit… I think this is not an option
As of now as the folder sizes wont come…we have to go in…recursion is to do kind of these scenarios only…to go till the final child and then come back to the first parent