Page 1 of 1
FTP calls broken on Standalone Executable!!!
Posted: Mon Nov 17, 2008 4:17 am
by dtillman
I have tried this on TWO machines running OS X. OS X 10.4.x and 10.5.x. The App that I have written uses FTP to move files around to and from a server. The FTP/URL calls work great when I am in the IDE but it ABSOLUTELY FAILS when it is an EXECUTABLE under Mac and Windows. I have checked the Standalone settings and have done BOTH automatic library and manual library loading! FTP/URL simply fails!!! HELP!!!!
Found inconsistentcy and solution
Posted: Tue Nov 18, 2008 10:55 pm
by dtillman
by importing the libURL button I managed to find the same problem with running the app in the IDE and the Runtime. That was step one. Step two was modifying my code from
get URL myFTPURL to..
put URL myFTPURL into URL "file:foo.txt"
It seems that the IDE auto-magically used the get URL and save that as a file with the actual contents. This breaks with the Runtime. Since I am now forcing it's hand with put URL into URL "file:file.txt" now there is not debate. More info coming...
Posted: Tue Nov 18, 2008 11:28 pm
by malte
Hi Donald,
it would be helpful to see the script that fails and some info where it is located would be useful, also what you checked in the standalone application settings would be interesting.
Cheers,
malte