Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
7ec5cd0d
Commit
7ec5cd0d
authored
5 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Terminology consistency: use "Transfer File Path" everywhere, not "Storage
Path" or "Directory File Path".
parent
af4b52f4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/sbbs3/scfg/scfgxfr1.c
+3
-3
3 additions, 3 deletions
src/sbbs3/scfg/scfgxfr1.c
src/sbbs3/scfg/scfgxfr2.c
+18
-20
18 additions, 20 deletions
src/sbbs3/scfg/scfgxfr2.c
with
21 additions
and
23 deletions
src/sbbs3/scfg/scfgxfr1.c
+
3
−
3
View file @
7ec5cd0d
...
...
@@ -1078,9 +1078,9 @@ void xfer_opts()
"
\n
"
"This option allows the sysop to add and configure alternate file paths
\n
"
"for files stored on drives and directories other than the configured
\n
"
"
storage path for
a file directory. This
command
is useful for
those who
\n
"
"have file directories where they wish to have files listed from
\n
"
"multiple CD-ROMs or hard disks.
\n
"
"
`File Transfer Path` of
a file directory. This
option
is useful for
sysops
\n
"
"
that
have file directories where they wish to have files listed from
\n
"
"multiple
locations (
CD-ROMs or hard disks
)
.
\n
"
;
i
=
uifc
.
list
(
i
,
0
,
0
,
50
,
&
altpath_dflt
,
&
altpath_bar
,
"Alternate File Paths"
,
opt
);
if
(
i
==-
1
)
...
...
This diff is collapsed.
Click to expand it.
src/sbbs3/scfg/scfgxfr2.c
+
18
−
20
View file @
7ec5cd0d
...
...
@@ -448,7 +448,7 @@ void xfer_cfg()
"
\n
"
"This an optional path to be used as the physical
\"
parent
\"
directory for
\n
"
"all logical directories in this library. This parent directory will be
\n
"
"used in combination with each directory's
storage p
ath to create the
\n
"
"used in combination with each directory's
`Transfer File P
ath
`
to create the
\n
"
"full physical storage path for files in this directory.
\n
"
"
\n
"
"This option is convenient for adding libraries with many directories
\n
"
...
...
@@ -964,6 +964,19 @@ void dir_cfg(uint libnum)
"`Note:` The internal code is constructed from the file library's code prefix
\n
"
"(if present) and the directory's code suffix.
\n
"
;
char
*
dir_transfer_path_help
=
"`Transfer File Path:`
\n
"
"
\n
"
"This is the default storage path for files uploaded-to and available for"
"download-from this directory.
\n
"
"
\n
"
"If this path is blank, files are stored in a directory off of the
\n
"
"`data/dirs` directory using the internal code of this directory as the
\n
"
"name of the sub-directory (i.e. `data/dirs/<CODE>`).
\n
"
"
\n
"
"This path can be overridden on a per-file basis using `Alternate File
\n
"
"Paths`.
\n
"
;
while
(
1
)
{
if
(
uifc
.
changes
&&
cfg
.
lib
[
libnum
]
->
sort
)
...
...
@@ -1048,13 +1061,8 @@ void dir_cfg(uint libnum)
SAFECOPY
(
path
,
code
);
else
sprintf
(
path
,
"%sdirs/%s"
,
cfg
.
data_dir
,
code
);
uifc
.
helpbuf
=
"`Directory File Path:`
\n
"
"
\n
"
"This is the drive and directory where your uploads to and downloads from
\n
"
"this directory will be stored. Example: `C:
\\
XFER
\\
GAMES`
\n
"
;
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"Directory File Path"
,
path
,
LEN_DIR
,
K_EDIT
);
uifc
.
helpbuf
=
dir_transfer_path_help
;
uifc
.
input
(
WIN_MID
|
WIN_SAV
,
0
,
0
,
"File Transfer Path"
,
path
,
LEN_DIR
,
K_EDIT
);
if
(
!
new_dir
(
dirnum
[
i
],
libnum
))
continue
;
...
...
@@ -1229,18 +1237,8 @@ void dir_cfg(uint libnum)
getar
(
str
,
cfg
.
dir
[
i
]
->
ex_arstr
);
break
;
case
8
:
uifc
.
helpbuf
=
"`File Path:`
\n
"
"
\n
"
"This is the default storage path for files uploaded to this directory.
\n
"
"If this path is blank, files are stored in a directory off of the
\n
"
"`data/dirs` directory using the internal code of this directory as the
\n
"
"name of the sub-directory (i.e. `data/dirs/<CODE>`).
\n
"
"
\n
"
"This path can be overridden on a per file basis using `Alternate File
\n
"
"Paths`.
\n
"
;
uifc
.
input
(
WIN_L2R
|
WIN_SAV
,
0
,
17
,
"File Path"
uifc
.
helpbuf
=
dir_transfer_path_help
;
uifc
.
input
(
WIN_L2R
|
WIN_SAV
,
0
,
17
,
"Transfer File Path"
,
cfg
.
dir
[
i
]
->
path
,
sizeof
(
cfg
.
dir
[
i
]
->
path
)
-
1
,
K_EDIT
);
break
;
case
9
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment