5
$\begingroup$

Can I get my directory namelist from wolfram Cloud?

dir = CloudDirectory[]

(*
    CloudObject[https://www.wolframcloud.com/objects/user-3bacf318-4194-4e57-969f-fa786e54ab7d
]
*)

dirOld = FileNameJoin[{dir, "Old"}]

(*
    CloudObject[https://www.wolframcloud.com/objects/user-3bacf318-4194-4e57-969f-fa786e54ab7d
/Old]
*)

DirectoryQ@dirOld

(*
    True
*)

FileNames["*", dirOld, \[Infinity]]

(*
    {}
*)

I mean the word namelist[Here is MyPackages,Old,Project,...], not uuidlist which can be obtain by CloudObjects[] enter image description here

$\endgroup$
3
  • $\begingroup$ Please provide a notebook snippet showing that there actually are subdirectories under directory Old. $\endgroup$ Commented Sep 5, 2015 at 14:07
  • 2
    $\begingroup$ Perhaps try CloudEvaluate[FileNames[...]] or CloudObjectInformation[CloudObjects[dirOld], "Name"]. $\endgroup$
    – ilian
    Commented Sep 6, 2015 at 1:33
  • $\begingroup$ @ilian Thanks, you can make this as an answer. names = CloudObjectInformation[CloudObjects[""]]; #[[1, "Name"]] & /@ Select[names, #[[1, "FileType"]] == Directory &] $\endgroup$ Commented Oct 25, 2018 at 4:08

1 Answer 1

1
$\begingroup$
CloudObjects["cloud directory"]
$\endgroup$
1
  • 4
    $\begingroup$ Can you please be a little bit more detailed? Thank you! $\endgroup$ Commented Oct 24, 2018 at 19:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.