M
Marco
Guest
Hi.
I'm trying without success to send an access file into a ftp server folder.
my script start to upload and stop in command number 150.
The ftp connects to the server, it enter in the specific folder sart to send
the file but stop.
If I use a FTP server I can see that the file is already in the ftp server
folder because the name is there but with zero bytes and it stops.
I have a batch file that calls the commands in a text file.
This is what I have in batch and text file:
Batch: ftp -s:ftp.txt
text file:
open ftp.server.com
usaername
password
Cd folder
MPUT teste.mdb
y
close
quit
this is the log of cmd
ftp> open ftp.server.com
connect to ftp.server.com.
220 Microsoft FTP Service
Utilizador (ftp.server.comnone)):
331 Password required for username.
230 User username logged in.
ftp> CD folder
ftp>
ftp> MPUT teste.mdb
MPUT teste.mdb? y
200 PORT command successful.
150 Opening ASCII mode data connection for teste.mdb.
What is wrong?? PLEASE HELP ME
Regards,
Marco
I'm trying without success to send an access file into a ftp server folder.
my script start to upload and stop in command number 150.
The ftp connects to the server, it enter in the specific folder sart to send
the file but stop.
If I use a FTP server I can see that the file is already in the ftp server
folder because the name is there but with zero bytes and it stops.
I have a batch file that calls the commands in a text file.
This is what I have in batch and text file:
Batch: ftp -s:ftp.txt
text file:
open ftp.server.com
usaername
password
Cd folder
MPUT teste.mdb
y
close
quit
this is the log of cmd
ftp> open ftp.server.com
connect to ftp.server.com.
220 Microsoft FTP Service
Utilizador (ftp.server.comnone)):
331 Password required for username.
230 User username logged in.
ftp> CD folder
ftp>
ftp> MPUT teste.mdb
MPUT teste.mdb? y
200 PORT command successful.
150 Opening ASCII mode data connection for teste.mdb.
What is wrong?? PLEASE HELP ME
Regards,
Marco