How to Monitor and Copy a File in a Network Location

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Locked
Kirubha
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Jan 14, 2018 12:56 pm

How to Monitor and Copy a File in a Network Location

Post by Kirubha » Sun Jan 14, 2018 10:31 pm

Dear All,
I have written a code to generate a text file (with contents of form) at public_html\joomla30\Apps\files\ directory.
And now, I need to check if a particular file exists in a network location. If a file exists, then I need to copy the generated file from public_html\joomla30\Apps\files\ directory to the network location.

I could successfully create and write files to the web server directory but unsure how to monitor the existence of a file in network location and copy the file to destination directory in a network location.

Any help is greatly appreciated.
Thanks,
Kirubha
Last edited by imanickam on Mon Jan 15, 2018 5:03 am, edited 1 time in total.
Reason: Split from the topic https://forum.joomla.org/viewtopic.php?f=431&t=494456. In the future, for your questions/issue, please create a separate topic.

Locked

Return to “Joomla! 3.x Coding”