navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

FTP batch file for auto download

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Server Issues >> FTP batch file for auto download
Page: [1]
 
ftp_novice

 

Posts: 1
Joined: 6/21/2007
Status: offline

 
FTP batch file for auto download - 6/21/2007 13:43:04   
Hi All,

I use Filezilla as the FTP client. My FTP server is Windows NT [admin'ed by someone sitting in another state]. Now its set in a way, that the FTP client connects with the server in the passive mode. And server assigns me new data port numbers for each command request.

I am trying to create a DOS based batch file that will automate the file transfer for me. Now what happens is the following -

C:\>ftp xx.xx.xx.xx
Connected to xx.xx.xx.xx
220 Microsoft FTP Service
User (xx.xx.xx.xx:(none)): anon
331 Password required for anon
Password:*****
230 User anon logged in.
ftp> cd LIB
250 CWD command successful.
ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
Aborting any active data connections...
425 Can't open data connection.
ftp> quote pasv
227 Entering Passive Mode (xx,xx,xx,xx,7,55).
ftp>
ftp> quote LIST
125 Data connection already open; Transfer starting.
ftp>


I have to open another command promt and telnet with server ip and port (7*256+55=1847) -
C:\ telnet xx.xx.xx.xx 1847

and this telnet window will show me the list.

If i have to automate this process, each time I'll have to use new dataport and open telnet to do my job. Has anyone been through this before?

Can someone suggest me from their experience on how to automate this process if FTP server is set up in passive mode.
Page:   [1]

All Forums >> Web Development >> Server Issues >> FTP batch file for auto download
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts