Why don't you test for the existence of file.txt and delete it before doing the 
ftp commands?


Carl Webster
Consultant and Citrix Technology Professional
http://www.CarlWebster.com


> -----Original Message-----
> From: Buchenauer Christian [mailto:[email protected]]
> Subject: Weird FTP client issue
> 
> Dear list,
> 
> I came across a strange behaviour of the W2K8 ftp client. I need to do a "get"
> and this works well while doing it interactively:
> 
> ftp <host>
> user
> password
> GET file.txt
> close
> bye
> 
> No issue here.
> 
> Now, when storing the information in a script file, it does no longer work.
> FTP returns the following:
> 
> > Replace Existing File with Temp File:ICMP port unreachable
> 
> The FTP server still shows a successful download in its logs. There seems to
> be an issue in the ftp.exe locally.
> 
> Has anyone seen such? - I'll go with NcFTP for the current task but I wonder
> whether there is something else buggy on the box.

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to