FTP Client

G

Guest

I have an image that remote boots and then contacts an ftp server, downloads
a script and run said script. The shell for the image is the script that does
the ftp stuff. Now the problem I'm having is that when the image boots the
ftp fails. It either simply prints "Unknown Error" and exits, or it gets to
the point where it claims to be downloading the file and hangs. If I kill the
ftp client and call the script by hand it works fine, the file ftp's and the
batch does it's job like a charm.

How can i get around this, i.e. have the script just work? I know the tcp/ip
stack is loaded because ping can see the server, and the ftp still fails. I
do have an app that will simply hold up a batch file for x milliseconds, so i
could simply cause the ftp to hold off for a while, but is there a way that i
can force my shell not to be loaded untill the services required for ftp are
started?

Thanks,
Rob
 
K

KM

Rob,

Probably your best deal would be to find out what components need to be loaded before the ftp client to make to work stable. Tools
like Regmon/FileMon/ProcessExplorer would help.

Another thing you can do is to postpone logon until then network stack up and network connection is made.
Try to play with the following registry value: [HKLM\SOFTWARE\Microsoft\Windows NT\Current
Version\Winlogon],"GpNetworkStartTimeoutPolicyValue". This is dword value is timeout policy for Winlogon to wait until network
connection is made. More info http://support.microsoft.com/default.aspx?scid=kb;en-us;840669
I'd guess this is only Winlogon feature (not Minlogon).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top