Developer forum

Forum » Development » Http file import

Http file import


Reply

How would you go about importing a file trough http?

The import should start directly when you call the url 

and do sone checks to se if the file allready exists and if the transfer was a suckses or not and send the information back to the page


Replies

 
Reply

You can initiate an pipeline by calling the /Admin/Public/Webservices/pipelinerunner.aspx page.

 
Reply
Sorensen wrote:

You can initiate an pipeline by calling the /Admin/Public/Webservices/pipelinerunner.aspx page.


created an activity and added this code to it:

public override void Process()
        {
            if(...)

            {
                   Pipeline.Report.AddMessage("Whait", this);

             }
        }

 

I whant to add "Whait" to the messages tag that is returned to the page.

But this doesn't work.

How do I do this? 

 
Reply

Log("Message");

 
Reply
Sorensen wrote:

Log("Message");


no, that did't work

<?xml version="1.0" encoding="utf-8" ?>
- <ErrorMessages StartDate="7/2/2008 9:58:52 AM" EndDate="7/2/2008 9:58:52 AM">
  <Messages />
  </ErrorMessages>

 

is it the Process method I should use?

there are no inputs exept a parameter in the url.

 

 

You must be logged in to post in the forum