ftp problem

S

systemtek

I have a very odd ftp problem that has started in the past few days.

Every night i have 2 ftp scripts that connect to 2 different servers to
transfer files to my PC, they connect to a remote web servers.

One script works fine ( so i guess i can rule out local firewall etc or
that wouldnt work )

The script uses ftp in dos and does :


goto done
open ftp.blahblah.co.uk
username
password
ascii
hash
lcd "c:\documents and settings\ME\my documents\backups\LOGS"
cd etc
cd backup
mget *sql

Both scripts are the same ones runs one dont.
If i do it manually it still wont work i get error :

200 PORT command successful

It just hangs on that, any ideas why it hangs ?

I can FTP ok to it via FTP software with no probs this has started in
last few days.
 
J

John Wunderlich

I have a very odd ftp problem that has started in the past few
days.

Every night i have 2 ftp scripts that connect to 2 different
servers to transfer files to my PC, they connect to a remote web
servers.

One script works fine ( so i guess i can rule out local firewall
etc or that wouldnt work )

The script uses ftp in dos and does :


goto done
open ftp.blahblah.co.uk
username
password
ascii
hash
lcd "c:\documents and settings\ME\my documents\backups\LOGS"
cd etc
cd backup
mget *sql

Both scripts are the same ones runs one dont.
If i do it manually it still wont work i get error :

200 PORT command successful

It just hangs on that, any ideas why it hangs ?

I can FTP ok to it via FTP software with no probs this has started
in last few days.

This smells like an active / passive mode FTP problem.
The "DOS" (Command prompt) FTP supports only active mode FTP.
Just about any other recent FTP software supports both modes.
Try using a software FTP program such as FileZilla
<http://sourceforge.net/projects/filezilla/>
and look through the preferences to find where you can set active /
passive mode and check to see if files will transfer in both modes.

HTH,
John
 
S

systemtek

Thanks but like i said its been working fine for ages and stopped
suddanly, nothing changed in the scripts......
 
J

John Wunderlich

Thanks but like i said its been working fine for ages and stopped
suddanly, nothing changed in the scripts......

Nothing may have changed at your end but what about the server end? A
different FTP server or the addition of a firewall can make a big
difference.
-- John
 
S

systemtek

Nothing changed at the other end, in fact if i use a different PC on my
network it works fine, its something to do with this microsoft
tcpip.sys bug that got updated on 16th Oct ive found but the the fix
that a few people have issued has not helped me.
 

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

Similar Threads

I can't connect to ftp server with ftp.exe 19
ftp hangs 5
FTP Hangs 1
FTP/Firewall problems on XP Pro 1
FTP Problem 10
How to download a file from a ftp web site?? 3
Batch FTP fails at one location 4
FTP Uploading 4

Top