video corrupted when downloaded from server

tareq_tawaiha tareq_tawaiha at yahoo.com
Tue Sep 29 12:29:04 EDT 2009


my local folder was using file instead of binfile. That solved it. 




Richard Gaskin wrote:
> 
> tareq_tawaiha wrote:
>> I am trying to download ".avi" videos from a ftp server. When i use an
>> ftp
>> client like "filezilla" , i can download any avi and no problems occur.
>> However when i try to download it using RunRev it gets corrupted. It
>> either
>> plays the video choppy , with green screen, with no screen, with a black
>> background or with audio only.  
>> 
>> The avi files i am testing with are no larger than 10 MB, this number
>> might
>> go up to 50 MB . 
>> 
>> here is the code i am using 
>> 
>> put fld "ftp folder" of card "ftpcommandG" of stack "studentWork" into
>> tServer 
>> (this will put the server connection ftp://USER:Pass@site.com) 
>> 
>> 
>>  if tFile ends with curTimeT&".avi" then
>>          put tFile into tMovieFileName
>>          put tServer & tMovieFileName into tServerPath
>>          put tFolder &tMoviefilename into tFolderPathMovie
>>          put URL tServerPath into URL tFolderPathMovie
>>          wait for messages
> 
> 
> The code doesn't show us the local path in tFolderPathMovie, but make 
> sure it starts with "binfile:" rather than "file:".
> 
> --
>   Richard Gaskin
>   Fourth World
>   Rev training and consulting: http://www.fourthworld.com
>   Webzine for Rev developers: http://www.revjournal.com
>   revJournal blog: http://revjournal.com/blog.irv
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 

-- 
View this message in context: http://www.nabble.com/video-corrupted-when-downloaded-from-server-tp25665382p25666337.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list