LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Upload File to HTTP Server Problem

Hello everyone

 

I am having a hard time due to my lack of knowledge about the web such as HTTP and HTML.

I built an HTTP server using the HTTP File Server (HFS) program and I want to upload files to this server using LabView.


However, the upload continues to fail.

Both Windows Firewall and port forwarding were set up correctly.

Post very simple VI and results I used.

If you know the solution to the problem I'm experiencing, or if you have an example related to HTTP, I'd appreciate it if you could share it.

Or let me know if you know a better way. please

 

 

HTTP_Test.png

jooho0312_0-1625482347864.png

Thank you for reading. Have a good day.

Download All
0 Kudos
Message 1 of 2
(974 Views)

Hi!

 

Since you get messages in your server, the connection is fine, and there is no firewall problem.

 

The messages say that the upload is not allowed, so it is more a configuration problem of the server.

 

It is possible that

 

  • the directory has to be configured as "writable" in the server configuration
  • the directory has to be configured as "writable" within the operation system: Some servers run under a specific account, which is not the user account. Since this account usually has no write access to the directory of the user, files can't be uploaded until it has write access.
  • ...

 

 

0 Kudos
Message 2 of 2
(925 Views)