Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trasnfering files 1

Status
Not open for further replies.

josemauricio

Programmer
Sep 2, 2003
65
BR
People, good evening!

I want to build an app that will be installed in my clients, that must transfer some compacted files from the client machine to my server, and vice versa. How can I compact this files and does someone have an example how can I do this?

Thanx for some answer.

José Maurício.
 
Is this on lan or over the internet?

Chip H.

____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
You can make files smaller by zipping/nzipping them. I don't think this is supported directly from .NET, but there must be plenty libraries out there. Or you could use a command line tool you call through Shell. I suggest 7-ZIP, as it seems to have a good compression rate.
 
Thanx both for reply.

Chip, it's over the Internet.

Mick, I'll look for this.

José Maurício.
 
The best, most internet-friendly, method would be to transfer the files using the FTP protocol. Unfortunately, there's no FTP support in the .NET framework itself.

I haven't used it, but a L-GPL'd FTP library is available at:

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
I was trying to runaway from FTP, but I'm noticing that it's not possible, hehehehe.

Thank you Chip. I'll fallow your advise.

José Maurício.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top