john e malmberg ho0ebgqslnet demerphq wrote filespec methods information needed conversions vms tofrom unix format explain rfc file urls pretty specific expected vms file specification actually showing trivial conversion vms ods2 format file specification unix format specification file optional hostname prepended incomplete conversion vms file specification diskdir1dir2dir3filetargz needs show filediskdir1dir2dir3filetargz separate scheme host name far vms concerned unix style path vms knows translate path native format vmsfilespec routines know conversions unix format vms back still need work handling unicode filenames conversion really vms tofrom unix rather vms file uri using filespec hopefully properly extract required components vms using filespecunix handle construction uri work filespec loses critical information converting vms file specification uri use vmsfilespecunixify work one original versions patch avoided using filespec construction uri instead used join hostvolumepathfile apparently jos felt comfortable using filespec purpose disadvantage making look like trying construct unix style spec arent constructing file uri technically different although shares similar semantics actually get past filehost portion unix file specification generating far vms concerned technical difference see difference rfc issue vms need use filespecunix routines handling unix filename use vmsfilespecvmsify vmsfilespecvmspath use filespec filespecvms handling vmsifyvmspath need complete unix path order work tell format input pass output however except filespec routines vms every file handling routine perl quite happy unix file specifications quite often reason bother converting unix format pathname vms format unless filename going visible outside perl filespeccatfile vms currently expects first element array passed already vms directory syntax given array fragments unix specification assume relative path current working directory want convert vms foobarbazfilegz url really need use vmsfilespecunixify result foobarbazfilegz reverse vms format vmsfilespecvmsify vmspath used depending result file directory almost routines perl vms exception filespec methods handle unix pathnames requiring conversions converting unix filespec vms format usually needed rare cases filefetch routines need input paths use vmsfilespecunixify force unix syntax treat unix syntax filespec vms currently handle unix file specifications filespecunix routines need used said arent trying construct unix style path trying construct file uri according rfc could review comments light reconfirm details please yes order work need constructing unix style path construct unix style path work vms uri generated parsed three components scheme deliminted file http hostname preceeded pathname starts unix format name think volume portion vms pathname unix format simply implied mountpoint file uris vms volume semantics oses follows filehostnamevolumenanmepathtofileext thus host named vmshostedu filespec diskusermynotesnote123456txt supposed turn filevmshostedudiskusermynotesnote12345txt filediskusermynotesnote12345txt serving localhost iow localhost vmshostedu correct pass diskusermynotesnote12345txt anything filespec filespecvms routines perl vms expected file accessed pass vmsfilespecvmsify get original file leaves us two cases isnt working reason b isnt due failure somewhere possiblyprobably filespec working use filespecunix take apart uri lost information needed correctly construct vms format give us details especially actually produced unpatched passed filespeccatdirmynotes produces mynotes need produce mynotes vms directory mynotes corresponds unix mynotes filespeccatpathvolumemynotesfileext get vms file spec volumemynotesfileext current working directory project_rootperlbleadtxxx specification results real path volumeperlbleadtxxxmynotesfileext filespec routines currently implemented used dissemble file specification one syntax rebuild another syntax spent quite bit time last night trying get filefetch routines convert uri vms format properly following original flow took minutes product patch submitted morning really leave filename extracted uri unix format john ho0ebgqslnet personal opinion thu 07 aug 2008 180434 0600 patch upgrade filefetch 013_03