Jump to content

download files to the server


ochi

Recommended Posts

hello! I'll try to explain my problem, but it's a bit complicated.

 

I have a server conecting 2 nets with a tunnel, one is private, I can't access it without the tunnel, and the other is the internet.

 

So, I have my php code in the server. I want to download files from the private network, but not to the local computer I use to connect to the system, I want this files in the server.

 

Can i do this?

 

Please, if you dont understand me,  tell me how to attach a image and i'll try again with it.

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/191322-download-files-to-the-server/
Share on other sites

Hi! I'm afraid I dont understand you.

 

Should I open the ftp conection from the computer in the private network? I cant modify anything in this situation. This is a create web site.

 

Could I detect with javascript the end of the transfer to the computer I'm using and then open the ftp conection to the server?

 

Thanks!

Assuming you have normal access to upload your code to the webserver then you can drive everythng from there.

 

You would open up the ftp connection to the private server and transfer the files to the webserver using ftp controlled by your php script

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.