Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/21/2019 in all areas

  1. here some example code for MBS Plugin: Set Variable [$curl; Value:MBS("CURL.New")] # FTP URL with destination file name: Set Variable [$result; Value: MBS("CURL.SetOptionURL" ; $curl ; "sftp://12.34.56.78/AZ1677ZZ.jpg")] Set Variable [$result; Value: MBS("CURL.SetOptionUpload" ; $curl ; 1)] Set Variable [$result; Value: MBS("CURL.SetOptionPassword" ; $curl ; "xxx" )] Set Variable [$result; Value: MBS("CURL.SetOptionUsername" ; $curl ; "yyy" )] # Pick file from desktop: // Set Variable [$Desktop; Value: MBS("Folders.UserDesktop")] // Set Variable [$Path; Value: MBS("Path.AddPathComponent"; $desktop; "AZ1677ZZ.jpg")] // Set Variable [$result; Value: MBS( "CURL.OpenInputFile" ; $curl ;$path )] # Pick file from container: Set Variable [$result; Value: MBS( "CURL.SetInputFile" ; $curl ; Test::ImageFileContainer )] # Upload file Set Field [Test::PerformResult; MBS( "CURL.Perform" ; $curl )] Set Field [Test::DebugMessages; MBS( "CURL.GetDebugAsText" ; $curl)] Set Variable [$result; Value:MBS( "CURL.Cleanup" ; $curl )]
    1 point
This leaderboard is set to Los Angeles/GMT-07:00
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.