This example show how to create a directory ex : use case with SRM plugin : ./gfal_testdir srm://grid05.lal.in2p3.fr:8446/dpm/lal.in2p3.fr/home/dteam/test_tatooin
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv)
{
char *rootdir;
if (argc != 2) {
fprintf (stderr, "usage: %s rootdir rights \n", argv[0]);
exit (1);
}
rootdir = argv[1];
printf ("Creating directory %s ...\n", rootdir);
exit (1);
}
printf ("All is ok.\n");
exit (0);
}