Unattended FTP

  • Thread starter Thread starter Mamun Shaheed
  • Start date Start date
M

Mamun Shaheed

Hi,
I have written an batch file for unattended ftp. Which is
as follows.

[........]
ECHO OFF
script.ftp ECHO USER admin

FTP -v -s:script.ftp 10.10.12.7
DEL script.ftp
GOTO End
:End
[..........]


When I am running this file I am getting error
that "error reading password..user not logged in"

Password is correct. How can I fixed this problem..

~M$
 
Mamun said:
Hi,
I have written an batch file for unattended ftp. Which is
as follows.

[........]
ECHO OFF
script.ftp ECHO USER admin


FTP -v -s:script.ftp 10.10.12.7
DEL script.ftp
GOTO End
:End
[..........]


When I am running this file I am getting error
that "error reading password..user not logged in"

Password is correct. How can I fixed this problem..

~M$



Try

script.ftp echo admin
script.ftp echo 123
script.ftp echo bin
script.ftp mget *.*

and

ftp -v -i -s:script.ftp 10.10.12.7
 
Not working. Same result....


-----Original Message-----
Mamun said:
Hi,
I have written an batch file for unattended ftp. Which is
as follows.

[........]
ECHO OFF
script.ftp ECHO USER admin

script.ftp ECHO 123
script.ftp ECHO bin
script.ftp ECHO prompt
script.ftp ECHO mget *.*


FTP -v -s:script.ftp 10.10.12.7
DEL script.ftp
GOTO End
:End
[..........]


When I am running this file I am getting error
that "error reading password..user not logged in"

Password is correct. How can I fixed this problem..

~M$



Try

script.ftp echo admin
script.ftp echo 123
script.ftp echo bin
script.ftp mget *.*

and

ftp -v -i -s:script.ftp 10.10.12.7

--
Phil Robyn
Univ. of California, Berkeley

u n z i p m y a d d r e s s t o s e n d e - m a i l

.
 
Back
Top