0

*WGET is not an option

I have a ftps url that has directories and inside those are files - All I know is the root directory name - and have no idea how many files or folders are in there.

I need to download all of them to my local.

Here is what I have

$ curl -k --user USERNAME:PASSWORD ftps://HOST:990 -Q "CWD FolderMain/FolderCOtainingFOldersAndFIles"

OUTPUT

drwxrwxrwx   1 owner    group               0 Sep 20  9:57 Cards
drwxrwxrwx   1 owner    group               0 Sep 24 17:20 Test
drwxrwxrwx   1 owner    group               0 Sep 24 17:20 Sample.xml
Hymns For Disco
  • 4,865
  • 2
  • 11
  • 28
vivianaranha
  • 2,741
  • 6
  • 32
  • 45

0 Answers0