upload image to server using it path in my comptuer.

A

Anonymous

Guest
Hi guys,

I would like to upload an image in my computer to a server via it path, for exemple, I will send it path (C:/image/image.jpeg) as a post request and then it will upload automatically to my server, is that possible and if so how?
NB: for now I can do it but I need to chose the file and then use the submit bouton in a html page.
Thanks you very much.
 
If I understand the question correctly:

You want to send pictures from your PC to your Server, you can use software like FileZilla or there are others; but essentially it's the same way that you transfer your scripts?

If this is not what you want to do, you'll need to explain a little more clearly what it is you want to do.
 
Hi,

Thanks for your reply, actuly I'm working on an app with c++, with curlib I would like to send the path of a file I would like to upload from my app to a Php page with post request and then that page will upload it to a server.

very sorry for not explaining my question well.
 
Let me see if I have this correct (ignoring the process that you have written):

You have an app written in c++, you want to send a file using the app to a server.
 
Thankx you again so much for your reply, Actually with my c++ app I send the path of the picture (c:/etc/etc.jpg) to a PHP page with post request, that I have done it, now I wanted to know if there's any way that makes me upload that file to my server using it path from the php page.
 
How is it useful for your app? [to have the path of a file on a device]

This makes no sense to me, why don't you send the file from your app rather than the path?
 
hyper said:
If I understand the question correctly:

You want to send pictures from your PC to your Server, you can use software like FileZilla or there are others; but essentially it's the same way that you transfer your scripts? If this is not what you want to do, you'll need to explain a little more clearly what it is you want to do.

Thanks for tutos
 
Back
Top