FTP or Mapped Drive - Performance issue?

  • Thread starter Thread starter Johnny Sandaire
  • Start date Start date
J

Johnny Sandaire

Greetings,

Can someone please tell me which is better or less load on a server?

FTP to download a file or use a function to map the share as a drive
and copy the file from the mapped drive onto the local machine and
then disconnect the mapped drive?

Thank you in advance...

Regards,

Johnny
 
Can someone please tell me which is better or less load on a server?

FTP to download a file or use a function to map the share as a drive
and copy the file from the mapped drive onto the local machine and
then disconnect the mapped drive?

FTP is more appropriate if you're transferring the whole file at once.

FTP is designed for this, and basically opens a TCP connection and stuffs
the entire file down it, closing the connection at the end. File sharing on
a mapped drive, by contrast, uses a far more chatty protocol, as the client
repetitively asks for the next segment of the file.

Alun.
~~~~

[Please don't email posters, if a Usenet response is appropriate.]
 
Thank you...

What if there were 2-300 TCP connection requests at the same time, how
would taht be handled? Creating a connection, does it require
resources from the Server, such as a thread etc...

Regards,

JS

Can someone please tell me which is better or less load on a server?

FTP to download a file or use a function to map the share as a drive
and copy the file from the mapped drive onto the local machine and
then disconnect the mapped drive?

FTP is more appropriate if you're transferring the whole file at once.

FTP is designed for this, and basically opens a TCP connection and stuffs
the entire file down it, closing the connection at the end. File sharing on
a mapped drive, by contrast, uses a far more chatty protocol, as the client
repetitively asks for the next segment of the file.

Alun.
~~~~

[Please don't email posters, if a Usenet response is appropriate.]
 
What if there were 2-300 TCP connection requests at the same time, how
would taht be handled? Creating a connection, does it require
resources from the Server, such as a thread etc...

It'd depend on your application. But yes, the more sockets you have open,
the more resources that chews up.

Alun.
~~~~

[Please don't email posters, if a Usenet response is appropriate.]
 
Back
Top