Guide to File Storage Feature
OSDN File Storage is a feature for file release, which allows uploading and managing in rsync, scp, and sftp.
How to Use
Command example also avilable bellow:
rsync over ssh
rsync -a /your/files/dir/ firstname.lastname@example.org:/storage/groups/p/pr/project1/
scp -r srcfiles... email@example.com:/storage/groups/p/pr/project1/
Note: We do not provide shell access on the storage server, so you can not use ssh or slogin command to access the file storage server
When README file is uploaded in txt, html, or Markdown, on the page of the URL that shows the directory where README file is located, details of the file will be shown at the bottom. It will be useful for release notes and such.
Currently, when there are download accesses from clients such as wget, curl, libwww-perl, PowerShell, apt, dnf, and other package management tools to a file URL, the file will be downloaded directly without going via html page. If you wish to add a client that allows direct downloading, please contact Support.
Simplifying File URLs
URLs that indicate files, that were made public by File Storage feature, will usually look like below.
File storage features can treat general UNIX file system like UNIX file system, so you can create directory with as many layers as you wish. However, if you make the directory hierarchy complex, there's a disadvantage that the files that should be downloaded by users become hard to find. So storage feature offers simplified URLs like below that allows downloading with file name only.
There are times when different files with the same name exist in a project, but in such cases, the URL will indicate the file with a newer time stamp. By the way, URLs of this format are the same format as the former file release feature, and the principle that it becomes the URL indicating a newer file will be applied to file release features as well.