SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Oct 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Script to download file from server automatically

    Hi,

    I am scheduling a cron to generate a csv file daily. This file would be saved on the server. Is there any way to get that file directly on my client machine as a part of the process? Can i get a script for this and schedule it for cron?

    Thanks!!

  2. #2
    SitePoint Zealot Kayarc's Avatar
    Join Date
    Sep 2009
    Posts
    127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by prax85 View Post
    Hi,

    I am scheduling a cron to generate a csv file daily. This file would be saved on the server. Is there any way to get that file directly on my client machine as a part of the process? Can i get a script for this and schedule it for cron?

    Thanks!!
    You are generating a .csv on server A and want to retrieve it on server B?
    Phoenix Arizona Web Design | info *at* kayarc.com | 602.633.2676

  3. #3
    SitePoint Member
    Join Date
    Oct 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No. I am generating the csv on Server A (Unix Server )and i want to get it on my PC (Windows).

  4. #4
    SitePoint Zealot Kayarc's Avatar
    Join Date
    Sep 2009
    Posts
    127
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by prax85 View Post
    No. I am generating the csv on Server A (Unix Server )and i want to get it on my PC (Windows).
    This index of file functions may help you get started:
    http://www.php.net/manual/en/ref.filesystem.php
    Phoenix Arizona Web Design | info *at* kayarc.com | 602.633.2676

  5. #5
    SitePoint Member
    Join Date
    Oct 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey Thanks !! That would help


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •