QUOTE
Abstract:
This implements an RFC 783 tftp daemon.
It listens on port 69 for requests
and spawns a thread to process each request.
TFTPD USAGE and Installation:
md d:/tftpd (the StartDirectory).
copy //MohsinA_p90/test/tftpd.exe .
sc create tftpd binPath= d:/tftpd/tftpd.exe (give full path).
sc query tftpd (check if installed).
Start:
sc start tftpd -f (creates a log file).
or sc start tftpd
or net start tftpd
or sc start tftpd [-dStartDirectory] [-e] [-f]
Options: -e use event log.
-f log to file.
-dStartDirectory
Info:
sc interrogate tftpd (logs will be updated).
sc query tftpd Check whether running.
Stop:
sc stop tftpd
net stop tftpd
Variables that control what files can be read/written and by whom:
StartDirectory - only files there will be accessible.
LogFile is created here.
ValidClients - Clients matching this ip address can read files.
eg. you can set it to "157.55.8?.*"
ValidMasters - clients matching this can write and read files.
eg. you can set it to "" and no one can write.
ValidReadFiles - only matching files will be served out, eg. "r*.t?t"
ValidWriteFiles- only matching files will be accepted, eg. "w*.txt"
Client:
tftp [-i] servername {get|put} src_file dest_file
-i from binary mode, else ascii mode is used.
This implements an RFC 783 tftp daemon.
It listens on port 69 for requests
and spawns a thread to process each request.
TFTPD USAGE and Installation:
md d:/tftpd (the StartDirectory).
copy //MohsinA_p90/test/tftpd.exe .
sc create tftpd binPath= d:/tftpd/tftpd.exe (give full path).
sc query tftpd (check if installed).
Start:
sc start tftpd -f (creates a log file).
or sc start tftpd
or net start tftpd
or sc start tftpd [-dStartDirectory] [-e] [-f]
Options: -e use event log.
-f log to file.
-dStartDirectory
Info:
sc interrogate tftpd (logs will be updated).
sc query tftpd Check whether running.
Stop:
sc stop tftpd
net stop tftpd
Variables that control what files can be read/written and by whom:
StartDirectory - only files there will be accessible.
LogFile is created here.
ValidClients - Clients matching this ip address can read files.
eg. you can set it to "157.55.8?.*"
ValidMasters - clients matching this can write and read files.
eg. you can set it to "" and no one can write.
ValidReadFiles - only matching files will be served out, eg. "r*.t?t"
ValidWriteFiles- only matching files will be accepted, eg. "w*.txt"
Client:
tftp [-i] servername {get|put} src_file dest_file
-i from binary mode, else ascii mode is used.
I followed those directions to install it as a service and start it but i couldnt get the TFTP client (tftp.exe) to transfer it. Anyone have any ideas, or have sucessfully gotten TFTPd.exe to transfer a file. OR anyone know if its because im using Windows XP Home editon. If not, anyone have a Win32 TFTPd source?




