Need help adding FTP functionality

Is there a built in class for FTP functionality with the jdk 1.5
I am sure there are thousands of threads on this subject but when I searched for related threads the first ten pages were all about ftp errors.
we are manually FTPing files from several remote servers to one main server, then using java to further act on these files.
I know there is a way to program java to FTP the files automatically.
Does anyone know a link to a good related thread?
Does anyone know where to find some free code to do this. I can't pay the $ for the commercial packages out there. I would like to code my own client but do not know where to begin.
Anybody?

Here's a little demo I have lying around:
import org.apache.commons.net.ftp.*;
* Download Jakarta's net-jar:
* http://jakarta.apache.org/site/downloads/downloads_commons-net.cgi
public class FTPDemo {
    private boolean isConnected = false;
    private FTPClient client;
    public FTPDemo() {
        connect();
        listFiles();
        disconnect();
    private void connect() {
        String server = "ftp.yoursite.org";
        String username = "yourlogin";
        String password = "yourpassword";
        client = new FTPClient();
        try {
            client.connect(server);
            client.login(username, password);
            isConnected = true;
        } catch (Exception e) {
            e.printStackTrace();
            isConnected = false;
    private void disconnect() {
        if(isConnected) {
            try {
                client.disconnect();
            } catch(Exception e) {
                e.printStackTrace();
            isConnected = false;
    private void listFiles() {
        if(!isConnected) return;
        try {
            String[] files = client.listNames();
            for(int i = 0; i < files.length; i++) {
                System.out.println(files);
isConnected = true;
} catch(Exception e) {
e.printStackTrace();
isConnected = false;
public static void main(String[] args) {
new FTPDemo();

Similar Messages

  • I need help adding a mouse motion listner to my game. PLEASE i need it for

    I need help adding a mouse motion listner to my game. PLEASE i need it for a grade.
    i have a basic game that shoots target how can use the motion listner so that paint objects (the aim) move with the mouse.
    i am able to shoot targets but it jus clicks to them ive been using this:
    public void mouse() {
    dotX = mouseX;
    dotY = mouseY;
    int d = Math.abs(dotX - (targetX + 60/2)) + Math.abs(dotY - (targetY + 60/2));
    if(d < 15) {
    score++;
    s1 = "" + score;
    else {
    score--;
    s1 = "" + score;
    and here's my cross hairs used for aiming
    //lines
    page.setStroke(new BasicStroke(1));
    page.setColor(Color.green);
    page.drawLine(dotX-10,dotY,dotX+10,dotY);
    page.drawLine(dotX,dotY-10,dotX,dotY+10);
    //cricle
    page.setColor(new Color(0,168,0,100));
    page.fillOval(dotX-10,dotY-10,20,20);
    please can some1 help me

    please can some1 help meNot when you triple post a question:
    http://forum.java.sun.com/thread.jspa?threadID=5244281
    http://forum.java.sun.com/thread.jspa?threadID=5244277

  • Need help adding schedule to xcode 4

    I need help adding a tour schedule for an iphone app building an app for 13 djs and they want thier tour schedules added these need to be updated monthly is there a way to add this????

    I don't know if this is the easiest way but it works for me. I connect the DVD player to my camcorder (so it's the 3 plugs yellow/red/white on one end and a single jack into the camera). Then I connect my camcorder to the computer (I think it's through a firewire port). Then I just play the DVD and the footage is digitized via the camcorder and I import it into iMovie 4 as it's playing. I believe the camcorder is just in VCR mode.
    I have also used this method to transfer VHS tapes onto DVDs via the camera by connecting the VCR to the camera.
    I haven't had much luck with movies over about 40 minutes on iMovie. But if it's home movies, there may be a logical break. Do maybe 20 minute segments (it's also really easy on iMovie to add a soundtrack if these are OLD films with no sound.
    As you can see, I'm low tech!
    Good luck!
    Powerbook G4   Mac OS X (10.3.9)  

  • Need help adding Arch to Grub

    I am trying to dual boot Arch Linux and Ubuntu. When I try to boot there is no option for Arch. I have added it to the menu.lst file in ubuntu. Arch is installed on sdb1 according to sudo fdisk -l  I need help!

    Fdisk -l
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xb38ab38a
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        9544    76662148+  83  Linux
    /dev/sda2            9545        9729     1486012+   5  Extended
    /dev/sda5            9545        9729     1485981   82  Linux swap / Solaris
    Disk /dev/sdb: 40.9 GB, 40992473088 bytes
    255 heads, 63 sectors/track, 4983 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0002eb1f
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1        4891    39286926   83  Linux
    Disk /dev/sdc: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x000ea9be
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1       30401   244196001    7  HPFS/NTFS
    I think Arch is on the 40GB partition
    Menu.lst
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default        0
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout        0
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    hiddenmenu
    # Pretty colours
    #color cyan/blue white/blue
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    ## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    # examples
    # title        Windows 95/98/NT/2000
    # root        (hd0,0)
    # makeactive
    # chainloader    +1
    # title        Linux
    # root        (hd0,1)
    # kernel    /vmlinuz root=/dev/hda2 ro
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=ce3a864f-3f72-480b-96b3-54516b307170
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    ## specify if running in Xen domU or have grub detect automatically
    ## update-grub will ignore non-xen kernels when running in domU and vice versa
    ## e.g. indomU=detect
    ##      indomU=true
    ##      indomU=false
    # indomU=detect
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    ## ## End Default Options ##
    title        Ubuntu 9.04
    uuid        ce3a864f-3f72-480b-96b3-54516b307170
    kernel        /boot/vmlinuz-2.6.28-11-generic root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro quiet splash
    initrd        /boot/initrd.img-2.6.28-11-generic
    quiet
    #title        Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    #uuid        ce3a864f-3f72-480b-96b3-54516b307170
    #kernel        /boot/vmlinuz-2.6.28-11-generic root=UUID=ce3a864f-3f72-480b-96b3-54516b307170 ro  single
    #initrd        /boot/initrd.img-2.6.28-11-generic
    #title        Ubuntu 9.04, memtest86+
    #uuid        ce3a864f-3f72-480b-96b3-54516b307170
    #kernel        /boot/memtest86+.bin
    #quiet
    # (0) Arch Linux
    title  Arch Linux 
    root   (hd1,0)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    title Arch
    rootnoverify (hd0,1)
    chainloader +1

  • Need help on FTPS transfer using X509 Certificates

    I am developing a FTPS component in my ASP.Net application.
    We configued the Personal Certificate,Intermediate Certificate and Root Certificate in Server and Client machine MMC console.
    I am stuck in to implement the same as I am getting below error when the the line "using (Stream writer = ftpRequest.GetRequestStream())" is getting executed.
    System.Net Information: 0 : [6876] SecureChannel#65124268 - Certificate is of type X509Certificate2 and contains the private key.
    System.Net Information: 0 : [6876] AcquireCredentialsHandle(package = Microsoft Unified Security Protocol Provider, intent = Outbound, scc = System.Net.SecureCredential)
    System.Net Error: 0 : [6876] AcquireCredentialsHandle() failed with error 0X8009030D.
    System.Net Information: 0 : [6876] AcquireCredentialsHandle(package = Microsoft Unified Security Protocol Provider, intent = Outbound, scc = System.Net.SecureCredential)
    System.Net Error: 0 : [6876] AcquireCredentialsHandle() failed with error 0X8009030D.
    System.Net.Sockets Verbose: 0 : [6876] Socket#19949373::Dispose()
    System.Net Information: 0 : [6876] FtpWebRequest#64456428::(Releasing FTP connection#53218812.)
    System.Net Error: 0 : [6876] Exception in FtpWebRequest#64456428::GetRequestStream - The remote server returned an error: 234 SecurFTP: SSL starting
    at System.Net.FtpWebRequest.CheckError()
    at System.Net.FtpWebRequest.SyncRequestCallback(Object obj)
    at System.IO.Stream.Close()
    at System.Net.ConnectionPool.Destroy(PooledStream pooledStream)
    at System.Net.ConnectionPool.PutConnection(PooledStream pooledStream, Object owningObject, Int32 creationTimeout, Boolean canReuse)
    at System.Net.FtpWebRequest.FinishRequestStage(RequestStage stage)
    at System.Net.FtpWebRequest.GetRequestStream()
    System.Net Verbose: 0 : [6876] Exiting FtpWebRequest#64456428::GetRequestStream()
    System.Net Information: 0 : [1320] ServicePoint#797974 - Closed as idle.
    Please help me to solve this issue as it is urgent.
    Below is my sample code:
    public bool FileTransferStatus(FileInfo oFile, string localCertificateNames, bool isFileType, out string statusMessage)
    FtpWebRequest ftpRequest;
    FtpWebResponse ftpResponse;
    try
    ftpRequest = (FtpWebRequest)FtpWebRequest.Create(FTPSite + CurrentDirectory + oFile.Name);
    ftpRequest.Method = WebRequestMethods.Ftp.UploadFile;
    ftpRequest.Proxy = null;
    ftpRequest.UseBinary = true;
    ftpRequest.Credentials = new NetworkCredential(UserName, Password);
    ftpRequest.KeepAlive = KeepAlive;
    ftpRequest.EnableSsl = UseSSL;
    ftpRequest.UsePassive = true;
    if (UseSSL)
    ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(ValidateServerCertificate);
    List<string> listLocalCertificates = localCertificateNames.Split(',').ToList<string>();
    if (isFileType)
    foreach (string localCertificate in listLocalCertificates)
    string currentCertificate = localCertificate.Replace("\n", "").Replace("\t", "").Replace("\r", "");
    X509Certificate certificate = X509Certificate.CreateFromCertFile(System.AppDomain.CurrentDomain.BaseDirectory + currentCertificate.Trim());
    ftpRequest.ClientCertificates.Add(certificate);
    else
    X509Store storeRoot = new X509Store(StoreName.Root, StoreLocation.LocalMachine);
    storeRoot.Open(OpenFlags.ReadOnly);
    X509Store storePersonal = new X509Store(StoreName.My, StoreLocation.LocalMachine);
    storePersonal.Open(OpenFlags.ReadOnly);
    List<string> listSerialNumbers = localCertificateNames.Split(',').ToList<string>();
    foreach (string sn in listSerialNumbers)
    string serialNumber = sn.Trim().ToUpper();
    X509CertificateCollection certificates = storeRoot.Certificates.Find(X509FindType.FindBySerialNumber, serialNumber, false);
    if (certificates.Count == 0) // Not in root store
    certificates = storePersonal.Certificates.Find(X509FindType.FindBySerialNumber, serialNumber, true);
    if (certificates.Count == 0) //Not in personal store
    throw new Exception(string.Format("Certificate {0} not found", serialNumber));
    storeRoot.Close();
    storePersonal.Close();
    X509Certificate certificate = certificates[0];
    ftpRequest.ClientCertificates.Add(certificate);
    //Selection of file to be uploaded
    byte[] fileContents = new byte[oFile.Length];
    using (FileStream fr = oFile.OpenRead())
    fr.Read(fileContents, 0, Convert.ToInt32(oFile.Length));
    using (Stream writer = ftpRequest.GetRequestStream())
    writer.Write(fileContents, 0, fileContents.Length);
    //Gets the FtpWebResponse of the uploading operation
    ftpResponse = (FtpWebResponse)ftpRequest.GetResponse();
    ftpResponse.Close();
    ftpRequest = null;
    statusMessage = "Uploaded successfully";
    return true;
    catch (Exception webex)
    statusMessage = webex.Message;
    return false;

    Hi,
    In .NET, you have built-in support for FTPS in the .NET Framework (see the FtpWebRequest class). However, functionality of this class is severely limited, especially in the SSL/TLS control aspect. The .NET Framework doesn't include any support for SSH or
    SFTP.
    In VCL, you have a selection of free components and libraries that provide FTP functionality. When you add OpenSSL to them, you can get FTPS for free. If you don't want to deal with OpenSSL DLLs, you can use one of the commercially available libraries for
    SSL and FTPS support. Again, there are no freeware SFTP components available for .NET.
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • I need help with Analytic Function

    Hi,
    I have this little problem that I need help with.
    My datafile has thousands of records that look like...
    Client_Id Region Countries
    [1] [1] [USA, Canada]
    [1] [2] [Australia, France, Germany]
    [1] [3] [China, India, Korea]
    [1] [4] [Brazil, Mexico]
    [8] [1] [USA, Canada]
    [9] [1] [USA, Canada]
    [9] [4] [Argentina, Brazil]
    [13] [1] [USA, Canada]
    [15] [1] [USA]
    [15] [4] [Argentina, Brazil]
    etc
    My task is is to create a report with 2 columns - Client_Id and Countries, to look something like...
    Client_Id Countries
    [1] [USA, Canada, Australia, France, Germany, China, India, Korea, Brazil, Mexico]
    [8] [USA, Canada]
    [9] [USA, Canada, Argentina, Brazil]
    [13] [USA, Canada]
    [15] [USA, Argentina, Brazil]
    etc.
    How can I achieve this using Analytic Function(s)?
    Thanks.
    BDF

    Hi,
    That's called String Aggregation , and the following site shows many ways to do it:
    http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
    Which one should you use? That depends on which version of Oracle you're using, and your exact requirements.
    For example, is order importatn? You said the results shoudl include:
    CLIENT_ID  COUNTRIES
    1        USA, Canada, Australia, France, Germany, China, India, Korea, Brazil, Mexicobut would you be equally happy with
    CLIENT_ID  COUNTRIES
    1        Australia, France, Germany, China, India, Korea, Brazil, Mexico, USA, Canadaor
    CLIENT_ID  COUNTRIES
    1        Australia, France, Germany, USA, Canada, Brazil, Mexico, China, India, Korea?
    Mwalimu wrote:
    ... How can I achieve this using Analytic Function(s)?The best solution may not involve analytic functions at all. Is that okay?
    If you'd like help, post your best attempt, a little sample data (CREATE TABLE and INSERT statements), the results you want from that data, and an explanation of how you get those results from that data.
    Always say which version of Oracle you're using.
    Edited by: Frank Kulash on Aug 29, 2011 3:05 PM

  • I have a godaddy website with a welcome page- I need help adding a few additional pages with a hyperlink to my welcome page.

    I need help attaching a few hyperlinks my godaddy welcome page. I have 2 more ipages articles, I also converted them to pdf. Godaddy only helped (last year) with the 1st article.  I do not know how to attach a hyperlink to the artlcles and add the hyperlinks to my welcome page.

    The program is called Pages not iPages. Just let us know if you do not speak English and what language you do speak so we can adjust for that.
    The issues are to do with your web page not with Pages.
    I think you are asking how to link from your web page to your pdf articles. You must first copy those pdfs to your web server, or some other web location, and then provide html links on your welcome page to those pdf files.
    The pdfs themselves may contain links to other locations but I can not see that that is what you are asking for.
    Nor to what those links would be to.
    From your heading I think you may have confused the name of Pages, the word processing program, with web pages which are two different things.
    Peter

  • Need help pl/sql function body returning SQL query - Reports

    I need help with Grouping by on a report that I developed in my application.
    I have posted my Code in
    Apex.oracle.com
    workspace : c a s e _ m a n a g e m e n t
    User Id : public
    Password : public
    I need help on Page 38 Reports.
    I get blank lines when I do break by first , second and third columns on the reports attribute.
    So I think I have to write "group by " or Distinct in side the SQL query. But not sure how to do it there.
    Thank you

    Is this an APEX question, then try here:
    Oracle Application Express (APEX)
    Is this an Oracle Reports question, then try here:
    Reports
    Is this an SQL question:
    Please provide sample data and expected output. Also please show what you have tried already.

  • ComboBox (dropdown) Need Help Adding URL links!!!

    I am somewhat of a newbie....Anybody know how to use URL
    links in a ComboBox dropdown menu? NEED HELP!!!!!!! I'm trying to
    make it so that after selecting an option, the user is directed to
    another URL within the same browser window. Using flash 8!
    Thanks,

    Im a bit a newbie myslef but i think you make flash
    commuincate to javascript wich will make the browser goto the URL.
    do a search on getURL and javascript together and i am sure
    you will find something.
    And when slecting to redirct i think its on?(onPress)
    something so maybe look throught the help section in flash 8 and
    look at componets. I think there is some actionscript help there.
    Sorry i could not be more helpful.

  • AS3: need help solving a function problam

    Hey, I need your help yet again.
    I have a wheel Chair movie clip that I just want to move left and right in a loop, I have this code:
            var wheelChairRightTimer:Timer = new Timer(120,24);
            var wheelChairLeftTimer:Timer = new Timer(120,24);
            wheelChairRightTimer.addEventListener(TimerEvent.TIMER, moveRight);
            wheelChairRightTimer.addEventListener(TimerEvent.TIMER_COMPLETE, startMoveLeft);
            wheelChairLeftTimer.addEventListener(TimerEvent.TIMER, moveLeft);
            wheelChairLeftTimer.addEventListener(TimerEvent.TIMER_COMPLETE, startMoveRight);
            wheelChairRightTimer.start();
            function moveRight(event:TimerEvent):void {
                wheelChair.x = wheelChair.x + 20;
            function moveLeft(event:TimerEvent):void {
                wheelChair.x = wheelChair.x - 20;
            function startMoveLeft(event:TimerEvent):void {   
                wheelChairLeftTimer.start();
            function startMoveRight(event:TimerEvent):void {   
                wheelChairRightTimer.start();
    The problam is with the last function "startMoveRight". Without this function the wheel chair goes right and left as intended and than just stops. I added the last function to loop the movment, but after the first round of left and right movment (which works well) it seems as all 4 functions are called together so the wheel chair is stack moving 20 px right and 20 px left.
    I know this probably isn't the best way, other ways or just a way to fix this will help alot!

    This should do it:
    // speed
    var vx:Number = 20;
    var chairTimer:Timer = new Timer(120);
    chairTimer.addEventListener(TimerEvent.TIMER, moveChair);
    chairTimer.start();
    function moveChair(e:TimerEvent):void {
         wheelChair.x += vx;
         if (chairTimer.currentCount % 24 == 0) {
              // change direction
              vx *= -1;
         e.updateAfterEvent();
    Message was edited by: Andrei1

  • Need Help on FTP Adapter Archival Process

    Hi Guru's,
    I implemented FTP Adapter for Inbound Operation to read the file from inbound directory and after reading the file should be archived in Archival Directory and Delete the file from directory from inbound directory.
    In my case file is successfully picked from inbound directory and records inserted in to database table. File is not Archiving in Archival Folder and File deleted from Inbound Directory. Here I need to Archive the files in Archival Folder.
    Thanks in Advance
    Could you please help me in this regard and Please provide pointers to me

    <property name="UseRemoteArchive" value="true"/>
    Set this property to "true" to notify the Oracle FTP Adapter that the archival directory is on the same FTP server. If set to "false", the Oracle FTP Adapter uses a local file system folder for archival.
    for more Information here to go : http://docs.oracle.com/cd/E15523_01/integration.1111/e10231/adptr_propertys.htm#CHDEDJEA
    Regards,
    MS Raghava

  • Compatability Issue: Need Help Disabling Additional Functions - URGENT!

    I am experiencing a problem with running Pro Tools 8.0.4 LE on my HP Pavilion dv7, which is encountered as a DAE error -6006 when loading Pro Tools. Research indicates that this error relates somehow to the firewire connection, and I am able to use Pro Tools on this system with a different interface (one that only has two microphone inputs) that allows me to connect via USB.
    Also, when I do run Pro Tools via USB it seems that I can't use the Quick Punch feature without a minimum 10 second (usually a lot longer) delayed response after pressing the playback or record button!
    I have been emailing Pro Tools support back and forth daily for 10 days now, and in the most recent email, they have said:
    "This might be an incompatibility issue. HP Pavilion dv7 laptop is not tested by our US headquarter testing team 
    and not officially supported.
    As you have found by yourself, each PC manufacture pre- installs their own features (as TV tuner) and the program into 
    Windows OS , the motherboard and BIOS. They work differently to Pro Tools and sometimes conflict. That is why we cannot support those PCs we have not tested.
    Please turn off all the additional function by HP from BIOS. Please ask HP support how to do."
    Therefore, I am requesting assistance with disabling all unnecessary services and processes on my HP laptop. I am assuming that the TV tuner is not a necessary service, but I have no idea about most of the others, and obviously I don't want to disable something that is necessary.
    If you could help me ASAP I would really appreciate it, as I need to get on with recording urgently! Thank you.
    This question was solved.
    View Solution.

    UPDATE:
    I have also been advised by Pro Tools support that if I add a supported FireWire card with Texas Instrument FireWire chip onto my computer, it may solve the problem. When I asked them how to go about doing this, they responded:
    "If your PC has Express Card slot, 
    http://avid.custkb.com/avid/app/selfservice/search.jsp?DocId=352647
    SIIG FireWire 2-Port ExpressCard
    is tested and supported FireWire card.
    Please ask HP about the spec of your computer."

  • Need help for Conversion Function in Oracle

    Hi, Can Any One help me Please.
    I need a Oracle conversion script for converting from decimal to hex. and decimal to datetime.
    Thanks In Advance.

    Hi,
    for the Hex-Number-conversion see:
    [url http://psoug.org/snippet/Convert-Hex-to-Decimal-Decimal-to-Hex_78.htm] self-defined Conversion-Functions
    What number format do you have? YYYMMDD
    Or is there a Date corresponding to 1 and a number n represent the date n-1 days after day 1?
    Please describe further.
    Bye
    stratmo

  • Need help adding video to a site

    Hi Everyone:
    I really need some help please. The owner of a site I am
    working on sent me a DVD with video's he has taken and wants them
    put on his site.
    The files are VIDEO_TS and are MPEG files. How can I add the
    video's to the site so that when I user clicks on the link, they
    are able to either view the site or download the video to watch
    later. I have other video's added to the site but I was able to
    copy them and safe them the way there were added. The owner sells
    products from the site I copied them from.
    The site I am working on is www.buggyworld.net. Most of the
    individual pages for the vehilces have videos on them and I am
    trying to add these new ones the same way. I have never done this
    before so really not sure how to. The videos that are already added
    at Windows Media Audio/Video Files and that is how I would like to
    convert this video to.
    Any help would be so greatly appreciated.. thank you
    Linda

    Best bet would be to make Flash video so that everyone who
    wants to (and has
    the Flash Player plugin) can see them. Do you have Flash?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Frank Branker" <[email protected]> wrote in
    message
    news:f4ph73$rcd$[email protected]..
    > What?s the size of your MPG file?
    >
    > It?s better if you convert your file to a wmv file
    format because it?s
    > important to keep your file size under 6 Megs. Do you
    have the software to
    > do
    > this?
    > Windows Movie maker might be able to do this you can
    find it in your
    > program
    > files on your computer.
    >
    > If not we will have to work with what you have and do a
    quick and dirty
    > but I
    > don?t advise that.
    >
    > Below is a list of tools you may want to consider
    owning.
    >
    > Ripping Software
    > This software will rip from a dvd to just about any
    format including WMV
    >
    http://www.imtoo.com/dvd-ripper.html
    >
    > Compressing software
    > Sorenson Squeeze Suite 4.5 is the industry-leading video
    encoding tool
    >
    http://www.sorensonmedia.com/pages/?pageID=2
    >
    >
    >

  • Need help adding AM/PM to my clock program

    Hi everyone
    I would be grateful if you could help me adding AM/PM to my clockDisplay program, been trying but i'm not very familiar with Java.
    Thanks
    I have used 2 classes:
    NumberDisplay and ClockDisplay
    the clock automatically convert hours after 12 noon such as 14:34 to 02:34 so all i need is to add PM and AM accordingly.
    NumberDisplay classs:
    public class NumberDisplay
        private int limit;
        private int value;
        public NumberDisplay(int rollOverLimit)
            limit = rollOverLimit;
            value = 0;
        public int getValue()
            return value;
        public String getDisplayValue()
            if(value < 10)
                return "0" + value;
            else
                return "" + value;
        public void setValue(int replacementValue)
            if((replacementValue >= 0) && (replacementValue < limit))
                value = replacementValue;
            else if ( (replacementValue>=limit) && (replacementValue>=0) )
               value=replacementValue-12;
        public void increment()
            value = (value + 1) % limit;
    }ClockDisplay class:
    public class ClockDisplay
        private NumberDisplay hours;
        private NumberDisplay minutes;
        private String displayString;    // simulates the actual display
        public ClockDisplay()
            hours = new NumberDisplay(12);
            minutes = new NumberDisplay(60);
            updateDisplay();
        public ClockDisplay(int hour, int minute)
            hours = new NumberDisplay(12);
            minutes = new NumberDisplay(60);
            setTime(hour, minute);
        public void timeTick()
            minutes.increment();
            if(minutes.getValue() == 0) {
                hours.increment();
            updateDisplay();
        public void setTime(int hour, int minute)
            hours.setValue(hour);
            minutes.setValue(minute);
             updateDisplay(); 
        public String getTime()
            return displayString;
        private void updateDisplay()
            displayString = hours.getDisplayValue() + ":" +
                            minutes.getDisplayValue();
    }As you see value=replacementValue-12; do the job.
    i tried do this:
    if(hours.setValue(hour)>=12)
    updateDisplayPm();
    else
    updateDisplay();
    and for
    private void updateDisplayPm()
    displayString = hours.getDisplayValue() + ":" +
                            minutes.getDisplayValue() + "PM";but it didnt work.
    so should iwrite if statemnt in NumberDisplay class and refer it to ClockDisplay or i can do something in clockDisplay.
    Looking forward to hear from you
    thanks

    solved
    public class NumberDisplay
        private int limit;
        private int value;
        private boolean isam;
        public NumberDisplay(int rollOverLimit)
            limit = rollOverLimit;
            value = 0;
        public int getValue()
            return value;
          public boolean getAm()
                 return isam;
        public String getDisplayValue()
            if(value < 10)
                return "0" + value;
            else
                return "" + value;
        public void setValue(int replacementValue)
            if((replacementValue >= 0) && (replacementValue < limit))
                value = replacementValue;
                isam=true;
            else if ( (replacementValue>=limit) && (replacementValue>=0) )
               value=replacementValue-12;
               isam=false;
        public void increment()
            value = (value + 1) % limit;
    public class ClockDisplay
        private NumberDisplay hours;
        private NumberDisplay minutes;
        private String displayString;    // simulates the actual display
        private NumberDisplay amCheck;
        public ClockDisplay()
            hours = new NumberDisplay(12);
            minutes = new NumberDisplay(60);
            updateDisplay();
        public ClockDisplay(int hour, int minute)
            hours = new NumberDisplay(12);
            minutes = new NumberDisplay(60);
            setTime(hour, minute);
        public void timeTick()
            minutes.increment();
            if(minutes.getValue() == 0) {
                hours.increment();
            updateDisplay();
        public void setTime(int hour, int minute)
            hours.setValue(hour);
            minutes.setValue(minute);
           updateDisplay(); 
        public String getTime()
            return displayString;
        private void updateDisplay()
            if(hours.getAm())
            displayString = hours.getDisplayValue() + ":" +  minutes.getDisplayValue() + "AM";
            else
             displayString = hours.getDisplayValue() + ":" +  minutes.getDisplayValue() + " PM";
    }

Maybe you are looking for

  • Error Message When Saving a File

    I'm running PSE 10 on a Mac OSX 10.6.8.  When I tried to save a file recently I received the following message:  "Could not save as FILENAME because you do not have necessary access privileges".  It occurred when I attemped to save as a PSD and JPG.

  • Problems with examples on WLS7.0 / RedHat8.0

    Hi all, I installed an evaluation copy of WebLogic/7.0.2.0 on a RedHat 8.0 Linux Box. I got some problems with the examples: The First problem was the copyright character in the index.jsp files I had to change the character with "©" in the following

  • Publicar app para ios(iphone y ipad) desde Dreamweaver CS5.5

    hola como estan espero que me ayuden con este problema e creado una app para android y una app para iphone, las dos las cree con dreamweaver CS5.5 y con Phonegap. Al publicar la aplicacion de android me genero sin ningun problema el archivo .APK pero

  • Display Chinese in iTunes v 9.1.1

    I have some songs in Chinese. All Chinese under Name, Album, Genre, etc. are in garbage. Can someone advise me how to display Chinese correctly. Thanks!

  • Why does iCal work only some times? how can I fix it?

    I think iCal is great. But sometimes it only shows the month but not the heading so I can move to another month. Other times when I go into the menu I can not add new events as this item is grayed out? Also if I try to go to a different day it doesn'