Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Re: [MBS] MBS-Plugin 5.3 (MBS FileMakerPlugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] [ANN] 5.4pr2
Next thread: [MBS] [ANN] 5.4p1


[MBS] [ANN] 5.4p1   -   Christian Schmitz
  Re: [MBS] MBS-Plugin 5.3   -   Christian Schmitz
    Re: [MBS] MBS-Plugin 5.3   -   Christian Schmitz
    [MBS] MBS-Plugin 5.3   -   Helmut Hurling
    Re: [MBS] MBS-Plugin 5.3   -   Christian Schmitz

Re: [MBS] MBS-Plugin 5.3
Date: 13.10.15 12:50 (Tue, 13 Oct 2015 13:50:52 +0200)
From: Christian Schmitz

> Am 13.10.2015 um 13:20 schrieb Helmut Hurling <<email address removed>>:
>
> Hi Christian,
>
> Set variable [$result ; Value: MBS("CURL.SetInputFile"; $curl; Name.pdf )]

be sure to pass a native path here.

MBS("CURL.OpenInputFile"; $curl; CURL Test::FilePath)

and in my test I use this path:

/Users/cs/Desktop/todo.rtf

so the path does not start with my disk name!

Sincerely
Christian

Re: [MBS] MBS-Plugin 5.3
Date: 13.10.15 12:23 (Tue, 13 Oct 2015 13:23:04 +0200)
From: Christian Schmitz

> Am 13.10.2015 um 13:20 schrieb Helmut Hurling <<email address removed>>:
>
> Set variable [$result ; Value: MBS("CURL.SetInputFile"; $curl; Name.pdf )]

Is that a native path to a file that exists?

> Set variable [$result ; Value: MBS("CURL.Perform"; $curl)]

What is result here?

> Set variable [$Debug ; Value: MBS("String.ReplaceNewline"; MBS("CURL.GetDebugAsText"; $curl);1)]

What are those debug messages?

The ReplaceNewLine for AsText functions there is no longer needed.

Sincerely
Christian

[MBS] MBS-Plugin 5.3
Date: 13.10.15 12:20 (Tue, 13 Oct 2015 13:20:15 +0200)
From: Helmut Hurling
Hi Christian,

seit dem Update auf MBS-Plugin 5.3 funktioniert der FTP-Upload nicht mehr. Eine Datei wir zwar erzeugt, ist aber leer. Das Script sieht wie folgt aus:

Set variable [$curl ; Value: MBS("CURL.New")]

Set variable [$URL ; Value: "ftp://unsere Homepage/Downloadordner/"]

Set variable [$Username ; Value: "Benutzername"]

Set variable [$Password ; Value: "Passwort"]

Set variable [$result ; Value: MBS("CURL.SetOptionURL"; $curl; $URL & "Name.pdf" )]

Set variable [$result ; Value: MBS("CURL.SetOptionUpload"; $curl; 1)]

Set variable [$result ; Value: MBS("CURL.SetOptionPassword"; $curl; $Password )]

Set variable [$result ; Value: MBS("CURL.SetOptionUsername"; $curl; $Username )]

Set variable [$result ; Value: MBS("CURL.SetInputFile"; $curl; Name.pdf )]

Set variable [$result ; Value: MBS("CURL.SetOptionVerbose"; $curl; 1)]

Set variable [$result ; Value: MBS("CURL.Perform"; $curl)]

Set variable [$Debug ; Value: MBS("String.ReplaceNewline"; MBS("CURL.GetDebugAsText"; $curl);1)]

Set variable [$result ; Value: MBS("CURL.Cleanup"; $curl)]


Mit 5.2 funktioniert es, mit 5.3 nicht mehr. Wurde irgendwas geändert?

Mit freundlichen Grüßen
Dipl.-Phys. Helmut Hurling

Materialprüfanstalt für das
Bauwesen Hannover
Nienburger Straße 3
30167 Hannover
Tel: 0511 762-8707
Fax: 0511 762-4001
E-Mail <email address removed> <mailto:<email address removed>>
URL www.mpa-bau.de <http://www.mpa-bau.de/>
_______________________________________________
Mbsfmplugin_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsfmplugin_monkeybreadsoftware.info

Re: [MBS] MBS-Plugin 5.3
Date: 14.10.15 16:36 (Wed, 14 Oct 2015 17:36:40 +0200)
From: Christian Schmitz

> Set variable [$result ; Value: MBS("CURL.SetInputFile"; $curl; Name.pdf )]

Okay, I found a bug here and it'll be fixed for next release.

Sincerely
Christian