Click here to Skip to main content
13,089,386 members (62,266 online)
Rate this:
Please Sign up or sign in to vote.
See more:
in my project(Project lawyer so you will be large files) need to send file from client to server then save it in DB
i read about this issue i found (using ftp )to send file
so before start in code write can anybody clear for answer and i must use FTP there is other way ?
Posted 1-Oct-12 12:53pm
Why FTP? This question makes little sense if you don't explain the ultimate purpose.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Here is the thing: there is no such thing as "just server" or "just client". It all depends on software you have or can install, and a number of other factors.

As to FTP, it won't just work in all cases. You cannot run it on one side, so you need to run some FTP server on the server side.

For a really short and absolutely incomplete overview: the files exchange is usually performed using the protocols of the application layer:[^].

I would list three most applicable cases: FTP, HTTP and the custom application-level protocols (something you develop for only one application, without concerns of compatibility with third-party products) mostly on top of TCP. When FTP or HTTP protocols are considered, one should also consider their secure variants (well, do you need some security or not? :-)): FTPS, SFTP, FTPS (they are different and unrelated) and HTTPS, but the software can be the same as for FTP and HTTP:[^],[^],[^],[^],[^],[^].

Everything can be implemented or already implemented for .NET. Apparently, listing of all of the libraries and classes would take too much room for this Quick Questions & Answers. The search of CodeProject along could give you enough of material, you just need to start.

There a many other, more exotic protocols and solutions — welcome to the world of open systems! After all, even the e-mail can be uses to transfer files, and even without the human operators.

But first, decide for yourself if you really want to transfer files. I have no reason to be sure you need exactly this. A file is not the only container of data available…

ridoy 2-Oct-12 1:33am
Heba Abu Ghalieh 2-Oct-12 8:23am
Heba Abu Ghalieh - 1 sec ago
thank u so much ur answer help me thnx :)
now i will being $ i will success :) :)
You are welcome.
Good luck,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 1 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100