stevex64 wrote:
Hi all,
I'm making a simple ftp client for a customer. They click a button to select
a file and it automatically starts the upload. Server, username, password
are all built in to the app so the user doesn't have to know anything but to
click the button and find the file.
This works fine on my laptop running WinXP, but it doesn't work right on 2
desktop pc's running the same OS. I have a text field that displays n bytes
of nnn bytes uploaded, just the default upload status message. When the file
is fully uploaded, that text is supposed to change to "file upload
successful". On the two pc's where it doesn't work, it gets to nnn bytes of
nnn bytes uploaded and then goes no further. It doesn't say the upload was
successful, and when I finally kill the process, the file has not been
uploaded to the ftp server.
Any ideas? Thanks for any help!
Steve Ralston
Hi Steve
1) Maybe there's a firewall interfering?
2) Might be a timeout problem. try pre-setting the socketTimeoutInterval
to a higher value to see if it makes a difference. Default is 10000, but
I have found it often needs to be 20000 on XP for some reason.
3) Otherwise, if possible, you should debug in situ using a log field to
see what's going on.
(I've taken to building a log field facility into my apps that do this,
as a sort of advanced feature the user can access under direction from
me. Useful when these situations happen)
Martin Baxter
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution