• Support
  • Articles
  • Resources
  • Products

How does TeraTerm signal "end of file" in Send File

Moderator: boris

4 postsPage 1 of 1

joepasquariello
Newbie

Posts:
2
Joined: Fri Feb 10, 2017 6:40 am
by joepasquariello » Fri Feb 10, 2017 6:53 am
Hello,

When using Send File (from File menu), does TeraTerm send a control character to signal "end of file"? For example, if sending a 3-character text file containing "abc", does TeraTerm send some character(s) at the end to signal end of file?

Thank you.

Joe
Trevor
Guru

Posts:
467
Joined: Wed Jul 26, 2006 8:47 am
by Trevor » Fri Feb 10, 2017 6:09 pm
No it only sends what is in the file, no control character(s) are sent at the end.
joepasquariello
Newbie

Posts:
2
Joined: Fri Feb 10, 2017 6:40 am
by joepasquariello » Fri Feb 10, 2017 9:56 pm
If the connection remains open after send file, how does the receiving device know the file is complete? Maybe that's an application-specific question, but it seems odd that there is no signal for end-of-file.
Trevor
Guru

Posts:
467
Joined: Wed Jul 26, 2006 8:47 am
by Trevor » Sat Feb 11, 2017 3:36 pm
Hi Joe,
It would be much more odd if there were a signal for end of file. If you need to know end of file look at xmodem or ymodem or zmodem etc. These are protocols for this purpose, making send file into some proprietary protocol by having end (or start or length or CRC) would just be inventing another protocol for the sake of it.

You could always use send file from a macro and then send what ever you like from the macro after/before the file contents (i.e. make your own protocol).

Regards
Trevor
Display posts from previous:
Sort by:

4 postsPage 1 of 1

Users browsing this forum: No registered users
cron