Hi Felix

 

If you decide to go the ftp route, here are a couple things you will need to do and some example files you will need to edit.

 

First, once you install FreeDOS, the networking stuff will not be installed by default.

 

To install them, run fdimples.

 

Press down arrow until you hear ASAP say "group networking".  Press space.  You will hear ASAP say some x

s as the components get marked.  Press tab until you hear ASAP say "ok".  Press space and the networking components will get installed.  Press the alt key once for silence, twice for clicking to tel you output is being sent to the screen.  At the end of installation, ASAP will give a low beep and you may hear the last package's information repeated.  Issue the "reboot" command and your system will reboot with networking enabled.

 

Next, there are two configuration files you need to edit.

 

First, you need to put a couple lines at the end of the file "c:\fdos\mtcp.cfg

 

You can use the edit command to open the file and press ctrl+end to jump to the bottom of the file.  Press treutn and add these two lines at the bottom.

 

ftpsrv_password_file ftppass.txt

ftpsrv_log_file ftplog.txt

 

Now, cd into c:\mtcp and edit the file ftppass.txt.  On line 17, you will see a sample username and password filled in.  You can simply change them as you want.  Next, put a number sign at the beginning of lines 18, 19, and 26.

 

Here's my ftppass.txt file so you can see how it should look.

 

Only one line does not begin with a number sign (just in case the mail program word wrapts this:

 

# mTCP FTPSrv user/password sample file

#

# User file format

#

# user password sandboxdir uploaddir permissions

#

# Commands with permissions: dele, mkd, rmd, rnfr, stor, appe, stou

# "all" is an alias for everything

#

# DOS paths are in /drive_X/path form where X is the drive letter.

# For example, e:/ftpdata is written as /drive_e/ftpdata .

#

# For sandboxdir, enter [none] or a full path name (drive letter included)

# For uploaddir, enter [any] or a full path name (relative if using sandbox,

#   or absolute if not using the sandbox).

#

jnorton   cats  [none]            [any]             all

# ftp       [email]   /drive_e/ftpdata  /testdir/incoming stor stou

# anonymous [email]   /drive_e/ftpdata  /testdir/incoming stor stou

#

#

# The next line defines a readonly user - notice there are not

# permissions defined.  Don't worry about the [any] in the

# uploaddir field - it is just taking up space.

#

# readonly  [email]   /drive_e/ftpdata  [any]

 

To start the server, cd into mtcp and run ftpsrv.

 

You might get an error about drives a and b, just press enter to ignore those.  ASAP will not automatically read the ftpsrv information, but, if you don't hear anything, the server is probably running.  If you immediately hear a dos prompt, something went wrong.  User ASAP's review commands to see what the error was.

 

If you have never used Windows ftp before, Windows security will ask you to allow access the first time you transfer a file ot list a directory.  Aos, if you log in successfully to the ftp server from the host, you will hear a couple beeps from FreeDOS.  With this default configuration file, you can access any of your drives.  Do an ls and it will show you the names.  The c drive is accessed as "drive_c". , the d drive as "drive_d" etc.  Once you cd into a drive, you have full access.

 

Hope this helps.

_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to