Page 1 of 1

Posted: 02 Jan 2018, 18:31
by dmitriyc
Hey guys. Was just scratching my head at the process and not being able to send/get properly. I have an FTP hosting site and cannot get the file to upload or download. Is there a way to have get file access an FTP site directly instead of a HTTP url? Or is there something I'm not seeing?

Thanks!

Posted: 11 Jan 2018, 19:40
by nay-seven
.text file ?

Posted: 25 Apr 2018, 21:31
by dmitriyc
yes .text file. The idea is, if i send a text file that equates on the other side as osc data, technically, I can send OSC through the internet using ftp get/send. If i want something on, I send a .text file with "1", off with a "0" but how?

Posted: 26 Apr 2018, 12:00
by nay-seven
If you want to use the network, maybe simpler to use the Share option in Usine no ?
Or maybe i misunderstood

Posted: 30 Apr 2018, 22:15
by dmitriyc
The concept is this: If use "Write Textfile" with something as simple as "0" and then use "FTP Putfile" to send it to an FTP, then receive it with "Get File" and assign it to say, a state of a button - Is it then possible to send the "0" to turn a button off between two different systems that are on two different networks (not in same space, over the internet)?

Posted: 27 Dec 2018, 08:23
by dmitriyc
Anyone able to tell me how to use these two modules? seems simple enough and I am able to upload txt files, however am having a hard time getting them. Any thoughts?

Posted: 27 Dec 2018, 09:54
by oli_lab
did you try to get the file by its http address ?

http://yoursite/yourfile.txt

Posted: 06 Jan 2019, 18:45
by dmitriyc
Ok, so after having a blonde moment, I realized that the ftp has to have a published website attached to it. Seemed like something I should have known but tried to do it "the free way" first. I am able to read the txt files like a dream, however have this issue that happens every time...I press the put file button and at first, there was a very big slowdown and it appeared that the software was hanging. Now religiously Hollyhock crashes and there is nothing that brings it out of hanging state. I just upgraded to the latest version and am trying it on a separate computer in a day or two, so I'll keep you posted.

Posted: 08 Jan 2019, 23:07
by dmitriyc
....More findings! I was able to send text and get the same .txt file, however there seems to be an issue....if the delay between send and get is below 800ms, then get file doesn't see the change until the next time it gets the file. Here is where it gets tricky: if i don't delay the time between the send files at 3000ms, Usine freezes and becomes unresponsive. Also, I tried to insert a secondary get ftp in between this 3000ms delay and i get mixed results. Sometimes it works for 20 seconds, other times it freezes right away. Is this how this is or is there a way to shorten the delay necessary between send texts? Preferably I would like a text file to be sent and received every 5ms. Is that too lofty of a goal?