Skip to content

Why Do VPN Uploads Fail Only When Sending Many Small Files?

A single large file uploads fine, yet a folder of thousands of small files stalls or errors out on a VPN. Here is why it happens and how to work around it.

10 min readUpdated Nov 5, 2026By XPASS Editorial Team

Why Do VPN Uploads Fail Only When Sending Many Small Files?

You connect the VPN, drag a single video into an upload window and it goes through without complaint. Then you try the same thing with a project folder holding four thousand small files such as photos, logs, thumbnails or text documents, and the transfer crawls, pauses, throws errors or quietly gives up halfway. Turn the VPN off and the folder may upload much faster. It is natural to conclude that the VPN is blocking something, but that is rarely what is happening.

This article explains why a pile of small files behaves so differently from one large file, why a VPN makes the difference more visible, and what you can change. It focuses on the many-small-files case. For slow uploads in general, read why VPN upload speed drops first, then come back here if your problem only appears with batches of tiny files.

Why one big file and many small files are different jobs

Network speed is not only about bandwidth. Every transfer has two costs: the time to push bytes through the line, and the time spent waiting for the other side to answer. A large file is mostly the first cost. A folder of small files is mostly the second.

Think about moving house. Carrying one huge sofa is slow because it is heavy. Carrying four thousand tiny objects is slow because you have to open the door, walk, put each one down, close the door and come back every time. The total weight may be the same, but the trips dominate.

For uploads, the "trips" are round trips between your device and the service. For each small file many tools do something like this:

  1. Start a request, often with a header describing the file name and size.
  2. Wait for the server to say it is ready to receive.
  3. Send the few kilobytes of content.
  4. Wait for the server to confirm that it was stored.
  5. Move on to the next file.

If each file needs two or three round trips and a round trip takes 40 milliseconds, then four thousand files need roughly 5 to 8 minutes of pure waiting, even if the data itself would take seconds. Add a VPN that makes each round trip 30 milliseconds longer and the waiting grows by about 75 percent. Nothing is broken; the arithmetic simply multiplies.

What a VPN adds to the picture

A VPN does not change what your upload tool does, but it changes the conditions in four ways that matter specifically for small files.

Extra delay on every round trip

Traffic through a VPN travels to the VPN server first and then on to the destination. Even when the server is nearby, that adds some milliseconds, and when the server is far away the addition can be large. A single large file is hardly affected because it keeps data flowing continuously. Thousands of small requests feel every added millisecond. For background on what latency is, see the Cloudflare explanation of latency.

New connections cost more

Many tools open a new connection for each file, or for each small group of files. Opening a secure connection takes several exchanges: the connection itself, then the encryption setup described in TLS 1.3 (RFC 8446), then the request. Modern software reuses connections to avoid this, but not every tool does, and some servers close idle connections quickly. Each fresh connection through a VPN pays the extra delay several times.

A shared exit address

On a VPN, many people can appear to come from the same exit address. A service that counts requests per address may see a burst of traffic that looks heavier than it really is, and may slow you down or answer with errors such as "too many requests" (HTTP 429, described in RFC 9110). This is a rate limit on the service side, not a VPN block, but it shows up exactly when you send thousands of requests quickly.

Small packets and tunnel overhead

Every packet inside the tunnel carries a few extra bytes for the wrapper. For a large file, packets are mostly full and the overhead is a small share. For tiny files, packets are small and the same wrapper is a bigger percentage. The effect on its own is modest, but it adds to the other costs.

How the failures usually look

The symptoms tell you a lot. Match yours against this table.

What you see Likely cause First thing to try
Upload is steady but very slow, no errors Per-file round trip delay Archive the files, or raise parallel uploads slightly
Fast at first, then slows down sharply Service rate limit or throttling Lower parallel uploads, pause and resume
Random files fail, retry works Timeouts or dropped packets Retry failed files, check Wi-Fi and packet loss
Whole job stops after some minutes Connection or session timed out Split into smaller batches
Errors that mention size or "too large" on specific files Packet size or MTU mismatch Test a smaller MTU, see the MTU article
Works with VPN off, fails with VPN on every time Exit address limit, route or MTU Try another VPN location, compare steps below

A pattern of random failures that succeed on retry points toward packet loss, which is covered in VPN packet loss explained. A job that dies at roughly the same point each time points toward a timeout or a service limit.

Step-by-step: find out where the problem is

Change one thing at a time and write down the result. Use a test batch of a few hundred small files, not the full folder, so you can repeat the test quickly.

  1. Make a test batch. Copy 300 to 500 of the small files into a separate folder. Note their total size.
  2. Time the upload with the VPN off. Use your normal tool and record how long it takes and whether anything fails. This is your baseline.
  3. Time the same batch with the VPN on. Use the same Wi-Fi spot and the same tool. If the time barely changes, the VPN is not the cause and the service or your tool is.
  4. Try a cable or a closer position. If you are on Wi-Fi, repeat the test near the router or on a cable. A big improvement points to wireless trouble.
  5. Try another VPN location. A nearer location usually reduces per-request delay. If a different location behaves much better, the earlier route was the weak point.
  6. Archive the batch. Put the same files into a single zip file and upload that. If it goes through quickly, per-file overhead was the problem.
  7. Adjust parallel uploads. If your tool has a setting for simultaneous transfers, try a small number such as 3 or 4, then a higher number. Notice where speed stops improving or errors begin.
  8. Check packet size. If large files fail too, or you see strange size-related errors, read the guide on the VPN MTU issue.

Keep the app's default VPN settings during these tests, unless support suggests a change. Changing several settings at once makes the results impossible to read.

Practical fixes that tend to work

Turn many files into one

Archiving is the most effective fix because it removes the cause. A zip, tar or similar archive gives the network one long stream with one acknowledgement at the end. It also tends to survive a flaky connection better than thousands of independent requests, as long as the tool can resume. Check that the archive opens correctly on the other side, and keep the original folder until you have done so.

For very large folders, several medium archives, perhaps a few hundred megabytes each, are often better than one enormous archive. If something fails, you retry a small part instead of the whole job.

Tune the number of parallel transfers

A single sequential upload wastes time waiting. A few parallel uploads fill those gaps. But too many parallel uploads can overwhelm the service's limits, your Wi-Fi or the tunnel. There is no universal best number, so test: start low, increase in small steps, and stop when speed stops improving or errors increase.

Use tools that reuse connections

Tools designed for bulk transfer usually keep a connection open and send many files over it, which avoids repeated handshakes. If your tool opens a new connection per file, look for a setting about keeping connections alive, or consider a synchronisation tool that supports batching and resuming. Avoid changing your workflow in ways that break a service's terms, and follow the service's own guidance on bulk uploads.

Pause between batches if the service rate limits you

If you see "too many requests" or sudden slowdowns after a burst, the service is protecting itself. Waiting a few minutes, reducing parallel uploads and sending smaller batches is the polite and reliable response. Do not try to get around a service's limits with tricks; the limits are theirs to set.

Retry only what failed

Good upload tools report which files failed. Retrying only those is faster and less likely to cause duplicates than restarting the whole folder. If your tool does not give a list, compare the file counts on both sides after the job.

Stabilise the local connection

If the test with the VPN off is also unstable, fix the local problem first. Move closer to the router, use a cable, avoid peak hours when many people share the line, and close other heavy uploads or backups. The VPN connection stability guide covers a general routine for keeping the tunnel steady.

A plain example

Mei needs to upload 6,000 small product photos, about 120 KB each, to an online storage service for a client. With the VPN off, her tool finishes in about 25 minutes. With the VPN on, it takes more than an hour and 80 files fail with timeouts.

She makes a test batch of 400 photos. With the VPN off it takes 100 seconds. With the VPN on it takes 190 seconds, so the VPN roughly doubles the time for this kind of job. She then zips the same 400 photos into one archive: 18 seconds with the VPN on. The delay was mostly per-file waiting.

She decides to upload the photos in 12 archives of 500 photos each, with three parallel transfers, and checks the file count at the destination afterwards. The whole job takes about 15 minutes with the VPN on and nothing fails. She also notes that a closer VPN location trimmed a few more seconds off each archive.

The numbers in this example are made up for illustration; your results will differ. The method, however, applies anywhere: measure a small batch, then change one variable.

Limits and what to watch for

  • A VPN cannot make a service accept more requests than it allows. If the service limits request rates, you must work within that, with or without a VPN.
  • A VPN cannot remove distance. The route to the server and onward still takes time, and thousands of small round trips will always cost more than one big stream.
  • A VPN is not guaranteed to be the culprit or the cure. Sometimes the same slowness appears without it, and then the fix lies in the service, your tool or your local connection.
  • Archiving is not always possible. Some services need individual files, for example when each photo must appear as its own item. In that case use the parallelism, batching and pause advice above.
  • Check your results. After any large upload, compare the file count and total size on both sides. A job that reported success can still have skipped a few items.
  • Be careful with confidential files. An upload that fails in the middle might leave partial copies at the destination. Confirm what arrived, and remove incomplete items if the service lets you.
  • Do not weaken protection to chase speed. Turning the VPN off to finish a job is a decision about the network you are on. On public Wi-Fi, think about what you are sending first. See VPN for public Wi-Fi for the general picture.

When to ask for help

If the batch fails in the same way with the VPN on, another location does not help, the Wi-Fi is solid and an archive also fails, collect a few facts before you contact support: the app and device, the VPN location, the time of the failure, the exact error text, and whether the same job works with the VPN off. That information shortens the conversation considerably.

Summary

A folder of small files fails on a VPN not because the VPN blocks them but because every file adds waiting time, and the VPN makes each wait a little longer. Test a small batch with and without the VPN, archive the files if you can, tune the number of parallel uploads, respect the service's limits and verify what arrived. If you need a pass for upload-heavy work on trips or shared networks, you can see the options on the XPASS pricing page.

Frequently asked questions

Why does one large file upload fine but a folder of small files fail on a VPN?

A large file is one long stream, so the time spent waiting for round trips is paid once. Thousands of small files each need their own request, and often their own handshake and acknowledgement. A VPN adds a little delay to every round trip, and that delay is multiplied by the number of files.

Is the VPN blocking my small files?

Usually not. The more common causes are added latency per request, too many parallel connections, a service that limits how fast requests can arrive, or a connection that times out in the middle of a long job. Test the same batch with the VPN off to see whether the VPN is involved at all.

Will zipping the files help?

Very often. An archive turns thousands of small transfers into one large one, which removes most of the per-file waiting. Keep the original folder until you have confirmed the archive arrived and opens correctly.

Should I lower the number of parallel uploads or raise it?

Both can matter. A few parallel uploads hide latency, but too many can trigger rate limits, resets or timeouts. Try a moderate number, then change it by small steps and measure each time.

Could the problem be my Wi-Fi rather than the VPN?

Yes. Weak Wi-Fi causes dropped packets, and many small transfers are sensitive to that. Compare a cable connection, or a spot close to the router, with and without the VPN to separate the two.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Need a VPN for a short trip or a busy month?

XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.

See passes

Keep reading

Troubleshooting

Why VPN Upload Speed Drops

Uploads often suffer more than downloads once a VPN is on. This article explains the causes, from thin upstream lines to device CPU, and how to test and improve it.

10 min read

Troubleshooting

VPN MTU Problems: Symptoms and Fixes

A VPN adds a wrapper to every packet, and when the path cannot carry the bigger size, some pages stall while others work. Here is how to recognise and test it.

9 min read

Troubleshooting

VPN Packet Loss: Causes and Diagnostics

Packets that never arrive cause stutter, frozen calls and slow pages. Learn the common causes of VPN packet loss and a simple test routine that shows where the loss really happens.

10 min read