Should I use HTTP or FTP to upload images from the North Pole? -


here's interesting request. client need blog north pole. connection speed on satellite phone poor, needs lean possible.

in past, they've submitted text via html form on http, , ftp'd images.

anecdotally, comfort of desk high speed broadband connection, feels http faster uploading files, compared ftp. i'm coder, know nothing of underlying technology get's data 1 part of web thought best double check people tend know lot more these things

i suppose issues are: bandwidth, & reliability.

so, given these strict conditions

  1. lower dialup bandwidth
  2. any number of small images (300x300px 72ppi)
  3. text data (max 1500 chars)

should use ftp or http upload images north pole?

definitely http if client , server support partial upload. reason ftp command-response protocol , lousy connection it's quite easy lose before gets uploading file. next, ftp requires 2 socket connections additional network load (and possible weak place in case of non-stable connection).

the question becomes more complicated if can't provide partial upload capability (i.e. if upload of file fails, file re-uploaded completely). need decide, if connection more slow or more unreliable (i.e. lost frequently), i.e. whether chance of connection drop higher overhead of ftp's secondary connection.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -