Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to write a batch file that will download a series of files from a secure server using an FTP client. These files are hidden from an ordinary FTP client, so I have to download them using a batch program. Has anyone written a program like this that could give me some pointers?
I am totally stuck on getting it to work.
Thanks in advance.
Charles Mason
Charles Mason
@echo off
setLocal EnableDelayedExpansion> #.ftp echo o mysite.com
>> #.ftp echo username
>> #.ftp echo password
>> #.ftp echo bin
>> #.ftp echo cd /files
>> #.ftp echo prompt
>> #.ftp echo mget *.txt
>> #.ftp echo byeftp -s:#.ftp
=====================================
If at first you don't succeed, you're about average.M2
Report Offensive Follow Up For Removal
Thank you very much for your help. I am relatively new at doing scripts and apparently still am having difficulties. I am using a software package called ScriptFTP. I think my problem may be in the .bat file itself. I inserted the instructions above into the actual .bat file, but apparently I didn't do it correctly. Can you give me a bit more direct instructions?
Thanks, I am eternally grateful.
Charles Mason
Charles Mason
Report Offensive Follow Up For Removal
If you copy the lines I osted and paste them into a batch, let's call it MY.BAT, that should do the trick. You will, of course, need to edit and put in 'real' values for the domain, user, etc.
=====================================
If at first you don't succeed, you're about average.M2
Report Offensive Follow Up For Removal
I must be not as smart as I thought I was. I just can't get this to work. Do you know anyone that we can pay to get this working? We are getting desparate.
Thanks,
Charles Mason
Report Offensive Follow Up For Removal
You can paste in the script you are using. But DON'T show your real password.
What errors are you getting?
=====================================
If at first you don't succeed, you're about average.M2
Report Offensive Follow Up For Removal
Any luck, Chuck?
=====================================
If at first you don't succeed, you're about average.M2
Report Offensive Follow Up For Removal
![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |