Professional Web Applications Themes

Mobile Device question - Coldfusion - Advanced Techniques

I am using a VB.net applicaion on a pocket PC to access our internet server. I want to send a text file to the server and have coldfusion take the text file and file it into the Access Data Base. I am not sure how to execute a coldfusion script after the file is uploaded. Any ideas?...

  1. #1

    Default Mobile Device question

    I am using a VB.net applicaion on a pocket PC to access our internet server. I
    want to send a text file to the server and have coldfusion take the text file
    and file it into the Access Data Base. I am not sure how to execute a
    coldfusion script after the file is uploaded. Any ideas?

    malachi74 Guest

  2. #2

    Default Re: Mobile Device question

    can you post a sample ot the text file
    jorgepino Guest

  3. #3

    Default Re: Mobile Device question

    Here it is...
    Carton_ID,Branch_ID,Truck_ID,Dep_Date,Dep_Time,Arr _Time
    1231001,1001,47,11/7/2005,4:00 PM,8:00 PM
    5671001,1001,47,11/7/2005,4:00 PM,8:00 PM
    7891001,1001,47,11/7/2005,4:00 PM,8:00 PM
    4441006,1006,47,11/7/2005,4:00 PM,8:30 PM
    6661006,1006,47,11/7/2005,4:00 PM,8:30 PM
    8881006,1006,47,11/7/2005,4:00 PM,8:30 PM
    9991006,1006,47,11/7/2005,4:00 PM,8:30 PM
    1111008,1008,47,11/7/2005,4:00 PM,9:30 PM
    1451008,1008,47,11/7/2005,4:00 PM,9:30 PM
    1781008,1008,47,11/7/2005,4:00 PM,9:30 PM
    4232000,2000,56,11/7/2005,4:00 PM,7:45 PM
    8772000,2000,56,11/7/2005,4:00 PM,7:45 PM
    4332000,2000,56,11/7/2005,4:00 PM,7:45 PM
    1906007,6007,56,11/7/2005,4:00 PM,8:45 PM
    8636007,6007,56,11/7/2005,4:00 PM,8:45 PM
    9456007,6007,56,11/7/2005,4:00 PM,8:45 PM
    2256007,6007,56,11/7/2005,4:00 PM,8:45 PM
    8987234,7234,56,11/7/2005,4:00 PM,9:00 PM
    4457234,7234,56,11/7/2005,4:00 PM,9:00 PM
    1017234,7234,56,11/7/2005,4:00 PM,9:00 PM
    7596666,6666,56,11/7/2005,4:00 PM,9:00 PM
    3106666,6666,56,11/7/2005,4:00 PM,9:00 PM
    6576666,6666,56,11/7/2005,4:00 PM,9:00 PM
    1222222,2222,58,11/7/2005,4:00 PM,10:00 PM
    1442222,2222,58,11/7/2005,4:00 PM,10:00 PM
    1662222,2222,58,11/7/2005,4:00 PM,10:00 PM
    2223333,3333,58,11/7/2005,4:00 PM,11:00 PM
    3333333,3333,58,11/7/2005,4:00 PM,11:00 PM
    5553333,3333,58,11/7/2005,4:00 PM,11:00 PM

    malachi74 Guest

  4. #4

    Default Re: Mobile Device question

    Here it is...
    Carton_ID,Branch_ID,Truck_ID,Dep_Date,Dep_Time,Arr _Time
    1231001,1001,47,11/7/2005,4:00 PM,8:00 PM
    5671001,1001,47,11/7/2005,4:00 PM,8:00 PM
    7891001,1001,47,11/7/2005,4:00 PM,8:00 PM
    4441006,1006,47,11/7/2005,4:00 PM,8:30 PM
    6661006,1006,47,11/7/2005,4:00 PM,8:30 PM
    8881006,1006,47,11/7/2005,4:00 PM,8:30 PM
    9991006,1006,47,11/7/2005,4:00 PM,8:30 PM
    1111008,1008,47,11/7/2005,4:00 PM,9:30 PM
    1451008,1008,47,11/7/2005,4:00 PM,9:30 PM
    1781008,1008,47,11/7/2005,4:00 PM,9:30 PM
    4232000,2000,56,11/7/2005,4:00 PM,7:45 PM
    8772000,2000,56,11/7/2005,4:00 PM,7:45 PM
    4332000,2000,56,11/7/2005,4:00 PM,7:45 PM
    1906007,6007,56,11/7/2005,4:00 PM,8:45 PM
    8636007,6007,56,11/7/2005,4:00 PM,8:45 PM
    9456007,6007,56,11/7/2005,4:00 PM,8:45 PM
    2256007,6007,56,11/7/2005,4:00 PM,8:45 PM
    8987234,7234,56,11/7/2005,4:00 PM,9:00 PM
    4457234,7234,56,11/7/2005,4:00 PM,9:00 PM
    1017234,7234,56,11/7/2005,4:00 PM,9:00 PM
    7596666,6666,56,11/7/2005,4:00 PM,9:00 PM
    3106666,6666,56,11/7/2005,4:00 PM,9:00 PM
    6576666,6666,56,11/7/2005,4:00 PM,9:00 PM
    1222222,2222,58,11/7/2005,4:00 PM,10:00 PM
    1442222,2222,58,11/7/2005,4:00 PM,10:00 PM
    1662222,2222,58,11/7/2005,4:00 PM,10:00 PM
    2223333,3333,58,11/7/2005,4:00 PM,11:00 PM
    3333333,3333,58,11/7/2005,4:00 PM,11:00 PM
    5553333,3333,58,11/7/2005,4:00 PM,11:00 PM

    malachi74 Guest

  5. #5

    Default Re: Mobile Device question

    Originally posted by: malachi74
    I am not sure how to execute a coldfusion script after the file is uploaded.
    Any ideas?

    here are a couple of options:
    1. set up a CF Schedule in CF Administrator to execute every, say, 5 mins a
    'directory watcher' script that looks in the uploads directory and does
    something once it detects a file, or;
    2. if you've got CF 7x Enterprise Edition, use the new directory watcher Event
    Gateway CFC to poll the uploads directory automatically and do something when
    it finds a file (no need to create a CF Schedule)


    edgriffiths Guest

Similar Threads

  1. Windows Mobile Device Centre
    By Cary Moore in forum Windows Vista
    Replies: 4
    Last Post: March 8th, 11:17 PM
  2. crashes when attempting to send ebook to mobile device
    By Dean_Muller@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 0
    Last Post: June 3rd, 12:15 AM
  3. w3d file on a mobile device
    By PhilSpitler in forum Macromedia Director 3D
    Replies: 1
    Last Post: November 9th, 05:51 AM
  4. Help with Director on Mobile Device
    By deek_ in forum Macromedia Director Basics
    Replies: 1
    Last Post: March 5th, 10:12 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139