To dwnload more than one files from remote site.

I want to connect a remote server and download all the files present in the file in one event.
It is important that connecting the server and download the files present in the sever one by one has to be done in one click.If three files are present in the remote site while we are conecting automatically it has to dowm load the three files one by one.

With TCP alone it is not possible to get a directory listing at the remote site ... You need some application level protocol running on top of TCP e.g. FTP which is capable of providing the file listing of the remote site

simple thing is - you do not names of files on the remote directory ... In order to donwload the files, you need to learn their names first ...
To get their names, you need some kind of service running at the remote site which can understand your requests and send you the names of files .... Does you remote site have something of that sort .e.g. running an FTP server or a telnet server or http server with locations of all files stored in a predefined file etc. etc.

Getting slightly technical, TCP is a transport layer protocol ... its job is to provide transport service irrespective of the payload ... it knows nothing of files or any other application

We have an enterprise application and a third party product, enterprise application sends one or more files to our FTP site on 24 * 7 basis and third party software picks those files and store it into our local folder for further process. Third party software has suppose to pick the files immediately (say within 1 min) from our FTP site but sometimes due to some problem it fails, so what we want to do is, to have a program which watch our FTP site on 24 * 7 basis, and if any files resides there for more than 5 minutes(means the failure of 3rd party software), we need to fetch that files and store it to local folder.

Just
(1) get any FTP Client program,
(2) look up the FTP commands to connect, login, change to the proper directory (cd), and do a multiple-file download (mget), and quit (quit).
(3) write a text-file to use as a script to feed the FTP program.
(4) Use the windows scheduleer to run this task frequently.

you need a program which will connect as FTP client to your remote machine ... It will periodically do an ls to get the remote directory listing and asve it .... each ls is compared to the previous ls to detect the new files ... then your program need to check the local directory to see if the file has already been received ... If not, then it brings in the file itself

Featured Post

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.

An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…