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$
  • $\begingroup$ Please provide a notebook snippet showing that there actually are subdirectories under directory Old. $\endgroup$ – Christopher Haydock Sep 5 '15 at 14:07
  • 2
    $\begingroup$ Perhaps try CloudEvaluate[FileNames[...]] or CloudObjectInformation[CloudObjects[dirOld], "Name"]. $\endgroup$ – ilian Sep 6 '15 at 1:33
  • $\begingroup$ @ilian Thanks, you can make this as an answer. names = CloudObjectInformation[CloudObjects[""]]; #[[1, "Name"]] & /@ Select[names, #[[1, "FileType"]] == Directory &] $\endgroup$ – HyperGroups Oct 25 '18 at 4:08
1
$\begingroup$
CloudObjects["cloud directory"]
$\endgroup$
  • 4
    $\begingroup$ Can you please be a little bit more detailed? Thank you! $\endgroup$ – AccidentalFourierTransform Oct 24 '18 at 19:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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