-
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
-
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.
-
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.