Is it because of the cr-lf problem between DOS-Unix? For example, if I send across the jpg in a html file, and it was set as ascii, will it not display properly? I know for certain that audio files were not playing properly because I did not realize I had to setFileType to binary. - Anil
--- Kevin Cummings <[EMAIL PROTECTED]> wrote: > I've not tried this with Commons FTP but I can tell > you from experience > with other FTP packages that this is not a good > idea. You'll basically > end up with files that have the right size but are > unreadable in a text > editor. > > You're better off setting the indicator based on > what you know about > the file. > > Good Luck! > .:. Kevin > > ------------------------------------------------------------------- > Kevin Cummings > IT/Systems Development > Child Support Division > Texas Office of the Attorney General > Email: [EMAIL PROTECTED] > Phone: (512) 460-6421 > Fax: (512) 460-6800 > ------------------------------------------------------------------- > > >>> Anil Philip <[EMAIL PROTECTED]> 8/24/2006 > 9:58 AM >>> > > Hello, > I need to send across both text and audio files from > Windows desktop to Linux server. > Instead of keeping track of which is binary and > which > is ascii and setting the flag each time, can I > simply > set FTPClient.setFileType(FTP.BINARY_FILE_TYPE)? > thanks, > Anil > > for good news go to > http://members.tripod.com/~goodnewsforyou/goodnews.html > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
