LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send a URL from within LabView

Solved!
Go to solution

Thanks Mike.

 

Basically I do not know how to start. Do you have an simple example (upload a file to a web) ?

 

I have some basic idea what I should do (send a POST string to URL, and then "hit" the button "upload" by program). But just no enough knowledge of Web/http/html.

 

Thanks for all your help.

 

 

0 Kudos
Message 11 of 19
(2,394 Views)

Hi vcxo,

a POST string can work but it's not very common these days. There are not very much websides supporting this function. Did you try to upload your file using ActiveX? You can use ActiveX to fill out the form and to send it.

Is there an FTP support on the web site you try to connect to?

 

Mike

0 Kudos
Message 12 of 19
(2,391 Views)

Hi Mike,

 

Anything can do the job will be ok. Do you have an simple example of upload a file using ActiveX ?

 

It is Amazon.com so I guess no FTP.

 

Thanks !

0 Kudos
Message 13 of 19
(2,388 Views)

Hi vcxo,

maybe this link helps.

It shows how you can manipulate a web page with ActiveX.

 

Mike

 

0 Kudos
Message 14 of 19
(2,379 Views)

Hi Mike,

 

I read the link and modify my code but still get Error 97. I think I need change the sequence according to the html layout of that page, correct ?

 

0 Kudos
Message 15 of 19
(2,360 Views)

Hi vcxo,

yes that's correct. Change the control and form name used in the example to the names valid for your webpage.

 

Mike

0 Kudos
Message 16 of 19
(2,349 Views)

Hi Mike,

 

Can you help me on this project ? I am in San Jose so we can discuss the details including consulting fee. donghuali@gmail.com

 

1) Log in https://sellercentral.amazon.com/gp/homepage.html

2) click inventory Tab

3) select the file type in a dropdown box

4) browse to inventory file and "click" upload

5) "click" log out

 

 

 

0 Kudos
Message 17 of 19
(2,327 Views)

MikeS81 wrote:

Hi vcxo,

a POST string can work but it's not very common these days...

 

Mike


 

Hi vcxo,

i want to correct me here. I think POST can work for you, what i had in mind was the "PUT" (is not very propagated anymore) command. Sorry for this.

You should be able to analyse the data traffic, if you upload your file manually, if it is not coded.

 

Mike

0 Kudos
Message 18 of 19
(2,305 Views)

Hi Mike,

 

The problem now is I do not have enough knowledge of web (PUT,POST.etc). Do you have a simple example ?

Thanks for all of your time and help.

0 Kudos
Message 19 of 19
(2,287 Views)