Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
hi
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
Comments
Sergey Alexandrovich Kryukov at 1-Oct-12 19:30pm
   
Why FTP? This question makes little sense if you don't explain the ultimate purpose.
--SA

1 solution

Rate this: bad
good
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:
http://en.wikipedia.org/wiki/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? Smile | :) ): FTPS, SFTP, FTPS (they are different and unrelated) and HTTPS, but the software can be the same as for FTP and HTTP:
http://en.wikipedia.org/wiki/Application_layer[^],
http://en.wikipedia.org/wiki/File_Transfer_Protocol[^],
http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol[^],
http://en.wikipedia.org/wiki/FTPS[^],
http://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol[^],
http://en.wikipedia.org/wiki/HTTPS[^].
 
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…
 
—SA
  Permalink  
v5
Comments
ridoy at 2-Oct-12 1:33am
   
+5
Heba Abu Ghalieh at 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 :) :)
Sergey Alexandrovich Kryukov at 2-Oct-12 10:26am
   
You are welcome.
Good luck,
--SA

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

  Print Answers RSS
0 Gihan Liyanage 332
1 Sergey Alexandrovich Kryukov 330
2 ClimerChinna 222
3 vikinghunter 168
4 OriginalGriff 166
0 Sergey Alexandrovich Kryukov 8,363
1 OriginalGriff 7,112
2 CPallini 2,598
3 Richard MacCutchan 2,025
4 Abhinav S 1,788


Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 1 Oct 2012
Copyright © CodeProject, 1999-2014
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