Solved

FTP Script Commands

Posted on 2014-07-28
6
240 Views
Last Modified: 2014-08-22
What is the "GET" command to get more than one file out of the same folder using FTP?
0
Comment
Question by:akdreaming
  • 3
  • 2
6 Comments
 
LVL 13

Expert Comment

by:duncanb7
ID: 40225512
You want do it on window or linux ? Please write us more about your
system or setup

Duncan
0
 
LVL 8

Expert Comment

by:5teveo
ID: 40225826
Try this pattern

To get several files from a remote host:
   ftp> mget *.ps


This transfers a copy of each file with the fileneme extension .ps in the current directory on the remote host to the current directory on the local host.

Do you need complete script?
0
 

Author Comment

by:akdreaming
ID: 40239999
I'm unclear on what the *.ps is for.  Are you saying if my filename extension is .doc, then I could simply type "mget *.doc" ?

On a daily basis, our users will go out to this site, connect and need to bring down a couple files.  There is typically never more than a couple files in there.  This is on Windows.  Our issue is that the files are named by date each day and we don't want to have to change the script each day just so we can grab the file by filename.  I just want to grab all of them.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:akdreaming
ID: 40240043
I'm told there are about 8-10 files out there, with varied file extensions.  So what I want is the command that pulls down every single file in the folder, regardless of file name extension.
0
 
LVL 8

Accepted Solution

by:
5teveo earned 355 total points
ID: 40265071
Use

ftp> mget *.*

mget is command to pull multiple files in FTP script

Does that make sense?
0
 

Author Closing Comment

by:akdreaming
ID: 40279803
Thanks.  Worked for our needs.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now