Results 1 to 3 of 3

Thread: FTP Upload

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Malaysia
    Posts
    345

    FTP Upload

    Hi!

    I have to upload lots of files (number could be 3000-4000) to a ftp server. I need to write a windows service, which will do it. Also, for every file, I need to insert (its) deails to the database. This service will run every 1 hour. Seeing the huge number of files, I want to let the FTP connection remain open do all the task and then close. Pls suggest. We are also open to buy any component.

    Thanks
    Thanks.

  2. #2
    Hyperactive Member
    Join Date
    Dec 2006
    Location
    Ubuntu Haters Club
    Posts
    405

    Re: FTP Upload

    There is a component for FTP uploading here. I have read somewhere that the .NET FTP implementation is hard to use and insufficient at that, I have not tried it myself however.

    [EDIT] Though if you are uploading that amount of files, learning the .NET way may be more efficient.
    » Twitter: @rudi_visser : Website: www.rudiv.se «

    If Apple fixes security flaws, they are heralded as proactive. If Microsoft fixes a security flaw, they finally got around to fixing their buggy OS.

  3. #3
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: FTP Upload

    It might be easier to use a PHP script on the server and use HTTP/HTTPS POST operations to upload the files. That way the PHP can handle the database too.
    I don't live here any more.

Posting Permissions

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



Click Here to Expand Forum to Full Width