Here is some of the code:
--------------------------------------------------
InputStream input = new FileInputStream(file);
ftp.setFileTransferMode(FTPClient.BINARY_FILE_TYPE);
ftp.storeFile("TEST-FILE.wmv", input);--------------------------------------------------- ftp is a FTPClient and the file I'm uploading is a "wmv" file.
The file gets uploaded but as I try to download it and play it Windows media player argues that the file is corrupted.
The uploaded file is 800 bytes bigger then the original.
Please advice...
Morten Andersen Master of applied mathematics and computer science Amanuensis Interest areas: -e-learning -software engineering -applied math
The Maersk Institute of Production technology at Southern Danish University www.mip.sdu.dk
Campusvej 55
DK-5230 Odense M
Denmark
+45 65 50 36 54
+45 61 71 11 03
Jabber id: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
