Jump to content











Photo
- - - - -

Command line TFTP server (console version)


  • Please log in to reply
2 replies to this topic

#1 tosiara

tosiara
  • Members
  • 1 posts

Posted 16 June 2008 - 09:48 AM

Hello

Is it possible to use TFTP32 server from command line, like

c:\> tftpd32.exe -port 12345 -dir c:\tftpdir


I need sometimes to launch tftp server from SSH, so I don't have GUI access...



Thank you!

#2 Ph. Jounin

Ph. Jounin

    Member

  • Developer
  • 54 posts
  • Location:Lyon (France)

Posted 20 June 2008 - 09:54 AM

You can not set the port with the command line, however you can set the tftp directory with "-s dir" (i really do not remember why i have used s).
If you need to specify the port, you can edit tftpd32.ini then start TFTPD32.Exe

#3 Nuptia

Nuptia
  • Deactivated
  • 1 posts
  •  
    France

Posted 01 August 2008 - 02:19 PM

You can not set the port with the command line, however you can set the tftp directory with "-s dir" (i really do not remember why i have used s).
If you need to specify the port, you can edit tftpd32.ini then start TFTPD32.Exe


En VBS J'ai tester ca

WshShell.Run "tftpd32.exe -sdir " & SAVE_FOLDER

Ça démarre bien l'application TFTP32 mais elle ne chope pas le répertoire courant que j'ai spécifié. Et mon répertoire courant est un chemin absolu qui est correct.

J'ai essayer avec -dir -sdir -s dir et ça marche pas.

J'ai aussi essayer tftpd32.exe -s " & SAVE_FOLDER

J'ai essayé avec 2 versions différente de TFTP32 et même verdict, il y a un truc que j'ai pas suivit ?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users