Results 1 to 2 of 2
  1. #1
    Arnokeh is offline Member
    Join Date
    Apr 2011
    Posts
    5
    Rep Power
    0

    Default FTPClient quality loss

    When I upload audio (.mp3) files thru an FTP server, their is some quality loss and wierd random 'beeps' in my song ?

    I'm using FTPClient from apache.common.net.ftp to upload them, anyone got an idea how to stop the quality loss?

    (When I uploaded them thru the servers cPanel Manager, their is no loss)

  2. #2
    Arnokeh is offline Member
    Join Date
    Apr 2011
    Posts
    5
    Rep Power
    0

    Default

    Already fixed it myself, if anyone might have the same problem, add this to your code:

    client.setFileType(client.BINARY_FILE_TYPE);

    No more quality loss ;)

Similar Threads

  1. Possible Loss of Precision?
    By jwb4291 in forum New To Java
    Replies: 6
    Last Post: 12-02-2010, 05:28 AM
  2. FTPClient need to download?
    By dudejonne in forum New To Java
    Replies: 8
    Last Post: 11-06-2009, 05:40 PM
  3. Ftpclient abort download
    By Papalazarou in forum New To Java
    Replies: 0
    Last Post: 01-06-2009, 05:18 PM
  4. Connection Loss
    By CrazyShells Slam in forum New To Java
    Replies: 0
    Last Post: 05-15-2008, 03:56 PM
  5. problems sun.net.ftp.FtpClient
    By tommy in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 05:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •