C
|
cgphp 5/5/2013 |
In the "Before record added" event, open a ftp connection and put each file to the new storage. You can get inspiration from these manual pages: http://xlinesoft.com/phprunner/docs/upload_files_to_users_folders.htm, http://www.php.net/manual/it/function.ftp-put.php |
S
|
shoppy author 5/6/2013 |
In the "Before record added" event, open a ftp connection and put each file to the new storage. You can get inspiration from these manual pages: http://xlinesoft.com/phprunner/docs/upload_files_to_users_folders.htm, http://www.php.net/manual/it/function.ftp-put.php
|
![]() |
Admin 5/6/2013 |
Shoppy, |
S
|
shoppy author 5/6/2013 |
Shoppy, you need to check corresponding article in PHPRunner 4.2 manual. It should come with a relevant code sample.
|
![]() |
Admin 5/6/2013 |
It's quite possible that PHPRunner 4.2 didn't expose access to uploaded files via events. I would consider upgrading to accomplish this task. |
S
|
shoppy author 5/9/2013 |
I just keep on trying to get it to work.
|
C
|
cgphp 5/9/2013 |
Did you follow the Sergey hint? |
S
|
shoppy author 5/9/2013 |
Did you follow the Sergey hint?
|
C
|
cgphp 5/9/2013 |
As Sergey said, it's quite possible that PHPRunner 4.2 didn't expose access to uploaded files via events. It's possible the code above will never work. |
S
|
shoppy author 5/9/2013 |
Yeah, that could be the case. |
C
|
cgphp 5/9/2013 |
Yes, you can code your custom solution. Check this page: http://php.net/manual/en/function.move-uploaded-file.php |
S
|
shoppy author 5/9/2013 |
Yes, you can code your custom solution. Check this page: http://php.net/manual/en/function.move-uploaded-file.php
|
S
|
shoppy author 6/11/2013 |
[Solved] |