LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2007, 04:05 PM   #1
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Rep: Reputation: 30
Video file can't play after I FTP it


Hello. I have been trying to ftp video files that play just fine on my ubuntu feisty machine so that I can have them at a second location. I'm just using: ftp (ftp-site). Then it asks for user and pass. Then i get in and can ftp things up. After i upload a video file, it is no longer good. The original still plays fine on the original ubuntu machine, but the one from the ftp server is no good.

The file size is different too. ie. the original for one of my files was 13,975,314 bytes. When i ftp it onto the server, the new size is 14,051,844 bytes. If I copy the file across the network to my windows computer and ftp it from there, it works just fine. The ftp server is my server, but runs windows 2000 (could that somehow be the reason)? Also, i tried other files, like simple text files and they work fine.

What is up with ftp? Also, anyone know another ftp program i can use from the command line? I want to automate these ftp's eventually.

-Thanks
 
Old 06-01-2007, 04:09 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
FTP typically can transmit in both ascii or binary. I suspect you need to upload the files in binary mode.
 
Old 06-01-2007, 05:46 PM   #3
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Original Poster
Rep: Reputation: 30
Thanks for the help. That fixed it. Now to automate it...

-Thanks
 
Old 06-01-2007, 07:26 PM   #4
mrbinky3000
LQ Newbie
 
Registered: Dec 2002
Location: Athens, Ohio USA
Distribution: Fedora Core 1,5,6
Posts: 13

Rep: Reputation: 0
check your ftp's config file... perhaps in /etc someplace.

you may be able to tell it that a certain extension should be handled as binary instead of ascii.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can mplayer play an ftp file? kornerr Linux - General 5 03-10-2006 10:08 AM
How to play encrypted WMV3 video file. rmanocha Linux - Software 4 01-05-2005 01:44 PM
MPLAYER fail to play video file. hanbin Linux - Software 1 11-20-2004 10:08 AM
How to play a media file/ video file/mp3 file recorded in harddisk/cd-rom arindam Linux - Newbie 2 09-05-2003 10:31 AM
how to play mp3 and video file in REDHAT 9 xleft4dexy Linux - Software 3 08-09-2003 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration