Last one does not work. For some reason, the connection to the modem hangsup after the 1st upload, then the program continues to look for the 2nd and 3rd file while the lost modem has disconnected it's connection. Is it possible that the loop is in the wrong place?
Spoke to soon
Ok the script works, but I need one more thing. I know how to write it in C++ and Basic, but not Aspect.
There may be time where there are multiple file in the directory that are name arp370_8,arp370_9,arp370_10.
Presently I have to run the script 3 times to get it to upload all...
I'm not sure if I follow the flow, be here goes.
What needs to be done 1st is
1-run a process that creates the file arp370_*
2-Find this file and upload it to another server.
3-Take this file and remane it to arp370_*(plus date)
4-move file to archive directory.
If I am correct, It looks like...
OK, with all the info I have gather, I know I'm close. The final script needs to find the file in the arp370 folder. It will be called arp370_*. This file will increment by one each time. It will need to run it's process by uploading it's contance the after it is complete, it will run it's...
No just one file, but it will increment by 1 each time it is run. The second problem may be is that they will possible run it a few times a day. Is I want to rename it with a date and place it in an archive folder, is there a way to keep arp370_*(plusedate) in the rename.
Ok as I see the help file below, what do I change in this program, so that it try to look for the file name, arp370_* (with * being the incrementing number).
proc main
string FileSpec = "*.*" ; File specifications to look for.
string Files[20] ; Array to hold...
Knob, I know nothing about aspect programing, so I would not know how to use the findfirst command. Can you point me to somewhere that has syntext of all these commands. Or could you put in in my program above to give me an example.
Thanks
OK one more problem. The file that my system creates is arp370_1 (where the _1 gets incremented by 1 each time the file is created). So is there a way to use wildcards in an aspect file, or can I write a dos batch file that will copy the file arp370_1 to arp 370, and the call this file in the...
I know the answer is in the knob thread, but I have zero programing experience. I don't know where to put the file name. Let me give you my example.
I have a file name test.txt that gets downloaded to the c:\ABC directory. The next day I will download the same file, but before that I want to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.