This topic is locked
[SOLVED]

 Absolute path and save location

8/26/2012 7:26:44 AM
PHPRunner General questions
A
Athlon author

Hi, i can use the absolute path to save locally and also to a server location ../My Files.
However I am trying to save an uploaded image file to another server. www.Anotherserver.com/Files
I have tried everything I can think of but it fails - can someone please write the proper path I use in the upload location to do this or is it not as easy as it appears to be. Scratches head yet again :-)
Searching the forum I have not been able to find an example saving to a different server - unusual as it is I need to be able to do this.
Thanks,
Mike.

C
cgphp 8/26/2012

PHPrunner generates the code to save the uploaded files to the same server where the script are running. As workaround, you can upload the file on the local server and then, in the "After record added" event, you can send it to the remote server using curl or ftp.

A
Athlon author 8/26/2012

TY <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=67515&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' /> of course it only runs on own server, obvious I should have realised.