...
Upload all files into the scan
curl -u username -X POST "çABCPUT "https://xnat.sydney.edu.au/data/archive/projects/PTV000/subjects/Haofei01/experiments/Haofei01_MR1/scans/4/resources/ABC/files" -F "file=@abc.txt@filelist"
Note: In this above example, PVT000 is the project name, Haofei01 is the subject name, "Haofei01_MRI" is the session/experiment name, "4" is the scan name, "ABC" is the subfolder name, and "files" are necessary to be added.
Create folder
curl -u nmil0563 -X PUT "https://xnat.sydney.edu.au/data/archive/projects/PTV000/subjects/Haofei01/experiments/Haofei01_MR1/scans/4/resources/test"
Creates a subfolder under scans/4 named test. Note that no further subdirectories are allowed.
2. How can we determine the project, subject, session/experiments, scan name via the XNAT Web Interface ?
...