Victor, UT1WPR, described a problem with the DU mbox command: it includes
the full path in the uuencoding, which leads to difficulties in uudecoding
the result, as parent directories may not exist on the target system.
I changed dodownload() in mboxfile.c to use only the entryname portion of
the file's path, so that uudecode will store into the current directory.
A context diff follows, showing the needed modifications to recent Jnos
versions.
73, de James Dugal, N5KNX
=============================================================================
*** mboxfile.c.orig Fri Nov 20 03:11:30 1998
--- mboxfile.c Tue May 22 19:46:37 2001
***************
*** 152,158 ****
if(m->stype == 'U'){ /* uuencode ? */
fclose(fp);
fp = fopen(file,READ_BINARY); /* assume non-ascii */
! uuencode(fp,m->user,file);
} else
sendfile(fp,m->user,ASCII_TYPE,0,NULL);
fclose(fp);
--- 152,166 ----
if(m->stype == 'U'){ /* uuencode ? */
fclose(fp);
fp = fopen(file,READ_BINARY); /* assume non-ascii */
! /* pass uuencode the entryname part of file's pathname */
! if ((path = strrchr(file,'/')) == NULL) {
! path=file;
! #ifdef MSDOS
! if (path[1] == ':') path += 2; /* skip any C: prefix */
! #endif
! }
! else path++;
! uuencode(fp,m->user,path);
} else
sendfile(fp,m->user,ASCII_TYPE,0,NULL);
fclose(fp);