file name restrictions

Do you have a list of characters not allowed in file names? Is there a maximum length on file names?

Do you mean history dataset names, or names of files you upload, or something else? Usually there are no restrictions (but this can depend on a database instance) and the object’s name is a varchar in DB with length 255.

1 Like

I meant files you upload and put into history.

You could name a file ‘/root/etc/@!*.com’?

1 Like

The upload code sanitizes the slashes but other than that it is fine. (And you can put them back on the history item)

Galaxy___Test
Galaxy___Test

1 Like

OK, good to know. Thanks. One of my colleagues uses GenomeTrackr which I think is a Galaxy instance, and it has extensive limitations. You can’t use underscores, dashes, or periods (including for the file extension). I was wondering if the main Galaxy instance had similar rules.