FTP upload/download from/to memory

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Jac de Lad
Enthusiast
Enthusiast
Posts: 106
Joined: Wed Jul 15, 2020 7:10 am
Contact:

FTP upload/download from/to memory

Post by Jac de Lad »

I wish PureBasic had a two functions for upload and downloads from and to memory. I'm sure this could be implemented easily. I know I can use Windows API or third party DLLs, but the most convenient way would be a native implementation. Sind Files have to be loaded into memory anyway and downloads are out into memory this is surely fastly done.
infratec
Always Here
Always Here
Posts: 6817
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: FTP upload/download from/to memory

Post by infratec »

+1

I would also appreciate it if libcurl is used for all network stuff and all of it's protocolls.
(at least imaps, smtps, ldaps ...)
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: FTP upload/download from/to memory

Post by Mijikai »

infratec wrote:...
I would also appreciate it if libcurl is used for all network stuff and all of it's protocolls.
...
+1
infratec
Always Here
Always Here
Posts: 6817
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: FTP upload/download from/to memory

Post by infratec »

An other example why this would be a good solution:

viewtopic.php?p=558969#p558969

The inbuild ftp solution does not work correct with MS FTP servers.
libcurl does.
Post Reply