Re: [MBS] Issue with CURLSMBS

2019-01-25 Thread Jerry Fritschle


> On Jan 25, 2019, at 5:44 AM, Jean-Luc Arnaud  wrote:
> 
> Here is my code, in the Run event of a Thread:
> 
> Dim CURL As New DownloadCURL ' (As CURLSMBS)
> 
> CURL.OptionURL="ftp://"+FTP_UserName+":"+FTP_Password+FTP_URL


I think you would need “@“ after the password.  For my part, I just put the 
login stuff in CURL.OptionUserName and .OptionPassword.

HTH


-
"Drama is life with the dull bits cut out."
-Alfred Hitchcock

Jerry Fritschle
jerryfritsc...@icloud.com



___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] Issue with CURLSMBS

2019-01-25 Thread Christian Schmitz



> Am 25.01.2019 um 12:58 schrieb Sergio Tamborini :
> 
> I think you have to use 
> curl.optionusername="xyz"
> curl.optionpassword="123"
> and not to pass that values in the url...

That is correct.

Please do not put passwords in URL.

See blog post:

https://www.mbsplugins.de/archive/2018-10-14/URLs_without_UserName_and_Pass


Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/


___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


Re: [MBS] Issue with CURLSMBS

2019-01-25 Thread Sergio Tamborini
I think you have to use 
curl.optionusername="xyz"
curl.optionpassword="123"
and not to pass that values in the url...

On Fri, 25 Jan 2019 12:44:41 +0100, Jean-Luc Arnaud wrote:
> Hi Christian,
> 
> Working on a code dated from February 2018, A CURLMBS connexion does no 
> longer work, while login, password and address are corrects.
> I remember you said something about CURL, maybe something the way we 
> have to use it, but I don't remember details.
> 
> Here is my code, in the Run event of a Thread:
> 
> Dim CURL As New DownloadCURL ' (As CURLSMBS)
> 
> CURL.OptionURL="ftp://"+FTP_UserName+":"+FTP_Password+FTP_URL
> CURL.OptionFTPResponseTimeout=120 ' Two minutes Time_Out
> CURL.OptionUpload=False
> 
> DL_NoThermo_Flag=True ' No thermometer for this download
> Connect_Window.TimeOut_Timer.Mode=Timer.ModeMultiple
> 
> DownError=CURL.PerformMT()
> 
> I'm getting a 67 error code, that iskError_LOGIN_DENIED
> 
> Any idea of what's happening ?
> 
> Xojo 2018 r4 and MBS plugins 18.5
> 
> TIA
> 
> -- 
> Jean-Luc Arnaud
> 
> ___
> Mbsplugins_monkeybreadsoftware.info mailing list
> mbsplugins@monkeybreadsoftware.info
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

--

Sergio Tamborini
Brescia
http://www.system-i.it


"C'è un equivoco di fondo. Si dice che il politico che ha avuto frequentazioni 
mafiose, se non viene giudicato colpevole dalla magistratura, è un uomo onesto. 
No! La magistratura può fare solo accertamenti di carattere giudiziale. Le 
istituzioni hanno il dovere di estromettere gli uomini politici vicini alla 
mafia, per essere oneste e apparire tali"

"There is a basic misunderstanding. It is said that political mafia has had 
acquaintances, if not found guilty by the courts, is an honest man. No. The 
judiciary can only do the findings of a judicial nature. Institutions have a 
duty to oust politicians close to the mafia, to be honest, these look "

Paolo Borsellino
___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


[MBS] Issue with CURLSMBS

2019-01-25 Thread Jean-Luc Arnaud
Hi Christian,

Working on a code dated from February 2018, A CURLMBS connexion does no 
longer work, while login, password and address are corrects.
I remember you said something about CURL, maybe something the way we 
have to use it, but I don't remember details.

Here is my code, in the Run event of a Thread:

Dim CURL As New DownloadCURL ' (As CURLSMBS)

CURL.OptionURL="ftp://"+FTP_UserName+":"+FTP_Password+FTP_URL
CURL.OptionFTPResponseTimeout=120 ' Two minutes Time_Out
CURL.OptionUpload=False

DL_NoThermo_Flag=True ' No thermometer for this download
Connect_Window.TimeOut_Timer.Mode=Timer.ModeMultiple

DownError=CURL.PerformMT()

I'm getting a 67 error code, that iskError_LOGIN_DENIED

Any idea of what's happening ?

Xojo 2018 r4 and MBS plugins 18.5

TIA

-- 
Jean-Luc Arnaud

___
Mbsplugins_monkeybreadsoftware.info mailing list
mbsplugins@monkeybreadsoftware.info
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info