video corrupted when downloaded from server
Richard Gaskin
ambassador at fourthworld.com
Tue Sep 29 11:56:55 EDT 2009
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
More information about the use-livecode
mailing list