Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FTP Bat file in Vista

2 views
Skip to first unread message

ne...@breakthroughnow.co.uk

unread,
Jul 14, 2009, 9:22:46 AM7/14/09
to
Hi All

Having been helped out before from the group I have run into another
problem. My bat file runs OK on XP machines, but I am having trouble
on a Vista PC, I can not get past the login stage.

Bat file

@echo
ftp -i -s:ftrans.txt
CSL
EXIT


Ftrans.txt
open IP
user
password
cd mdir

mget *.* c:\mydir\*.*

quit

I am guesing syntax is incorrect for Vista

regards Neill

H-Man

unread,
Jul 14, 2009, 1:06:16 PM7/14/09
to
On Tue, 14 Jul 2009 06:22:46 -0700 (PDT), ne...@breakthroughnow.co.uk
wrote:

> Hi All
>
> Having been helped out before from the group I have run into another
> problem. My bat file runs OK on XP machines, but I am having trouble
> on a Vista PC, I can not get past the login stage.
>

I had a similar problem moving from 98SE to XP. The script worked fine in
98SE but not consistently in XP. The FTP client is different in the
different OSs, and I'm sure things changed in Vista. The general
information I got was that the FTP client included in Windows really sucks
and should not be used for anything more than just one off uses. If you're
doing anything serious, use a better FTP client. We now use NcFTP,
http://www.ncftp.com/

You can then use the built-in commands in your batch file, this works very
well for us in XP, I'm not sure about Vista, but I can't see why it
wouldn't work.

--
HK

0 new messages