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?
tsukrawAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Duncan RoeSoftware DeveloperCommented:
Are they binary files being transferred as ASCII?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tsukrawAuthor Commented:
How do i know?
0
Rance_HallCommented:
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?

0
tsukrawAuthor Commented:
That did the trick! it was on ascii and when i changed it to binary it corrected the sound issue
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IP Telephony

From novice to tech pro — start learning today.