• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 269
  • Last Modified:

tftp transfer messing up wav file

Hey Experts,
I have a asterisk phone system running on a linux box.  
I connect to this box with a SSH connection as root.
I am then tftp transferring wav files to it for music on hold.  When i transfer the files they are getting choppy.  I know it is the transfer that is causingi t because the files are fine before, and if i download the files back from the asterisk with a SCP client they are choppy still using itunes to play them on windows.  

Any idea on what would cause the files to be messed up with transfering?
  • 2
2 Solutions
Duncan RoeSoftware DeveloperCommented:
Are they binary files being transferred as ASCII?
tsukrawAuthor Commented:
How do i know?
using a standard tftp client once you connect to the server

type "mode"

it should tell you what mode its using

the default is ascii  (sometimes referred to as netascii)

type "mode binary"

to change to binary mode

type "mode" again and it should tell you that you are in binary (or octet) mode

now transfer the files.

is the choppy gone?

make sure the binary mode is set and transfer them back.

still sound ok?

tsukrawAuthor Commented:
That did the trick! it was on ascii and when i changed it to binary it corrected the sound issue
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now