FTPS (windows needs additional files)

Share your advanced PureBasic knowledge/code with the community.
infratec
Always Here
Always Here
Posts: 7582
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: FTPS (windows needs additional files)

Post by infratec »

I updated libcurl.pbi and added an upload example.

viewtopic.php?p=591235

I tested it with our ftp(s) server,
but I need to use ftp:// instead of ftps://

The transfer uses the s, because I got an error message about insecure certificate :mrgreen:
So I added also the flags to accept the insecure stuff.
Last edited by infratec on Sun Nov 13, 2022 4:08 pm, edited 2 times in total.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: FTPS (windows needs additional files)

Post by Kwai chang caine »

YEEEES !!!!! that works here

Image

INFRATEC !!! you are a mother for little KCC 8)
My "file.txt" (Ceci est un fichier déposé sur un serveur FTPS) is putting on the server 8)

The first time i have use

Code: Select all

#REMOTE_URL = "ftps://uXXXXX .........................
and the answer is
Error: Timeout was reached
:|

So...in the bidet that serves as my brain, i have an idea :shock: :idea:
I have ask to Fillezilla fo give me the full url of one of my files on the server
And it answer to me the protocol "SFTP" :shock:

Then like idiots that dare everything, that's even how we recognize them :mrgreen: (Michel audiard)
I have write

Code: Select all

#REMOTE_URL = "sftp://uXXXXX .........................
and that works !!!!
But i have when even a little error :|
48 bytes read from file
Error: Quote command returned error
One thousand of thanks MASTER of the NET 8)
Have a good night
ImageThe happiness is a road...
Not a destination
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: FTPS (windows needs additional files)

Post by Kwai chang caine »

Do you now why the file is posed on the serveur, but an error is when even retuned :shock:
48 bytes read from file
Error: Quote command returned error
ImageThe happiness is a road...
Not a destination
Post Reply