[android-developers] Re: How to upload large video files to FTP Server

2012-04-22 Thread lbendlin
Make sure you set the transmission mode to binary before starting the FTP 
put.  Default mode is ascii.
 
Explore the restart functions of the FTP protocol.

On Saturday, April 21, 2012 1:28:39 AM UTC-4, ashish wrote:

 Hi guys i am getting a problem on uploading large video files to ftp 
 server,files are uploading but the data got courrpted and when we 
 download that file,it is not playable and showing file is 
 courrpted,could anyone please help me how to achieve this and why this 
 is going on

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to upload large video files to FTP Server

2012-04-21 Thread Zsolt Vasvari
Find out what caused the corruption and fix it.

On Saturday, April 21, 2012 1:28:39 PM UTC+8, ashish wrote:

 Hi guys i am getting a problem on uploading large video files to ftp 
 server,files are uploading but the data got courrpted and when we 
 download that file,it is not playable and showing file is 
 courrpted,could anyone please help me how to achieve this and why this 
 is going on

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to upload large video files to FTP Server

2012-04-21 Thread asheesh arya
please upload your logcat output and let us know what actually problem you
are facing. may be somewhere you missing some permission in your manifest
file.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to upload large video files to FTP Server

2012-04-21 Thread Chris Stratton
On Saturday, April 21, 2012 1:28:39 AM UTC-4, ashish wrote:

 Hi guys i am getting a problem on uploading large video files to ftp 
 server,files are uploading but the data got courrpted and when we 
 download that file,it is not playable and showing file is 
 courrpted,could anyone please help me how to achieve this and why this 
 is going on


If you are trying to do this over a mobile network (or one that is 
otherwise unreliable over the timescale of transferring one of your files), 
you may want to come up with a scheme where you can do the upload in pieces 
and have them recombined on the server.  You would probably want this to 
include means of later resuming to upload additional segments if the 
original attempt fails, and of validating received segments and causing a 
re-send of any that are broken.  This may need to handle re-attempts over 
substantially longer delays (potentially hours or days) than what is built 
into basic network protocols.

I doubt it's necessary to build this from scratch; some web searching would 
probably find an appropriate existing scheme.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en