Jump to content

Recommended Posts

Hello everyone,

 

I've got a local webserver on our intranet and we need to regularly transfer data to our internet site.  At the moment, you have to save the data as a file and then go to the web-site and select the file to upload it.  It seems to me one should be able to upload directly from the local server onto the remote server with the click of a button, but I have no idea how to do it.

 

The computer accessing the local server isn't the server itself, otherwise I can imagine generating a file and then using google gears or setting signed.applets.codebase_principal_support in firefox to auto-upload the file but a) it seems messy and b) the file is on the local server not the local client anyway.

 

I have some very vague notion of inserting the data into a manually constructed POST request to the remote server - is it even possible with php?

 

Any ideas would be most appreciated,

Paul

Ingwavuma Orphan Care

http://www.orphancare.org.za/

 

Take a look at php's ftp functions.  They should be able to do what you want.

 

Thanks!  That might be better than I've currently got.  I'd prefer to do an automatic POST upload though because I've got a nice progress bar going on and it could be multi-megabyte uploads... I suppose I could split up large files and do an alternative progress bar.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.