FTP or Mapped Drive - Performance issue?

  • Thread starter Johnny Sandaire
  • 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
 
A

Alun Jones [MS MVP]

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.]
 
J

Johnny Sandaire

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.]
 
A

Alun Jones [MS MVP]

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.]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top