Can we use webservices to copy files from one location to another in C#
I want to copy files from one location(say pittsburgh) to another location(say me开发者_如何转开发lbourne) using the network share. The normal file copy takes more time for copying the files(usually in GB) Can I use webservices to improve the performance or is there any other alternative?
Thanks
Webservices might work, but it would be better to use a protocol designed for transferring files across the Internet, such as FTP.
There is a bunch of FTP libraries and tutorials out there.
Webservices do not have any special properties that will speedup connections and file transfers. Lag time and throughput will still be the same.
FTP should still be king of file transfers, transfering files is what it was designed to do. I dont think you can get much better than that across the internet.
Web services are not particularly helpful here. While there are dedicated products that perform efficient, long-distance transfers of large files (see http://www.asperasoft.com/en/technology_sections), the basic trick is to overcome latency by sending chunks in parallel. This can be done over HTTP just fine.
精彩评论