Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > ftp.exe bat fil...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 404 of 494
Post > Topic >>

ftp.exe bat file

by "x2c" <dj_slims@[EMAIL PROTECTED] > Jun 25, 2006 at 04:25 PM

Hi everyone,
i am using an automated bat file to upload files to a live web server.

i use a bat file witch then calls the script. the script and bat file
look like so.

Bat File

@[EMAIL PROTECTED]
 off
ftp -i -s:e:\Direcotry\ftpscript.txt xxx.x.xxx.xx <----- ip address of
the server
del e:\Directory\*.jpg /S /Q


Ftpscript.txt file

Username
password
BINARY
mput e:\Directory\*.jpg
delete e:\Directory\*.jpg
bye

so there is the bat file and script file. the problem i am having is
that the images are copied accross but most of them become corrupt. for
some reason. how do i stop them from becoming corrupt.

thanks

x.




 2 Posts in Topic:
ftp.exe bat file
"x2c" <dj_sl  2006-06-25 16:25:02 
Re: ftp.exe bat file
Kevin D. Quitt <KQuitt  2006-06-29 13:12:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 20:31:44 CDT 2008.