HTTPProgress() also for Uploads

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Bisonte
Addict
Addict
Posts: 1305
Joined: Tue Oct 09, 2007 2:15 am

HTTPProgress() also for Uploads

Post by Bisonte »

I would like to see the function "HTTPProgress()" output not only the bytes of a download,
but also the bytes of an upload.

For example : HTTPMemoryRequest() with #PB_HTTP_Asynchronous.

Currently the function always output 0 during a transfer and not the bytes.
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
User avatar
Derren
Enthusiast
Enthusiast
Posts: 316
Joined: Sat Jul 23, 2011 1:13 am
Location: Germany

Re: HTTPProgress() also for Uploads

Post by Derren »

1+
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: HTTPProgress() also for Uploads

Post by RSBasic »

+1
Image
Image
Seymour Clufley
Addict
Addict
Posts: 1264
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: HTTPProgress() also for Uploads

Post by Seymour Clufley »

+1
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: HTTPProgress() also for Uploads

Post by IdeasVacuum »

+1
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: HTTPProgress() also for Uploads

Post by davido »

+1
DE AA EB
Post Reply