![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Serial Port/Com Port | etcpasswd | Red Hat | 0 | 04-14-2009 05:18 AM |
| disabled telnet now need port 23 or port 22 | panzerkw | SUN Solaris | 3 | 03-05-2007 03:08 PM |
| Which port? | dsimpg1 | AIX | 7 | 09-28-2005 10:22 AM |
| BitTorrent port 6969 blocked... how to get around the blocked port | PenguinDevil | IP Networking | 1 | 05-05-2004 11:03 PM |
| port 111 | Stormpie | Security | 6 | 04-18-2002 06:23 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
OK thanks. done.
How about in windows? here is the help for ftp Transfers files to and from a computer running an FTP server service (sometimes called a daemon). Ftp can be used interactively. FTP [-v] [-d] [-i] [-n] [-g] [-s:filename] [-a] [-w:windowsize] [-A] [host] -v Suppresses display of remote server responses. -n Suppresses auto-login upon initial connection. -i Turns off interactive prompting during multiple file transfers. -d Enables debugging. -g Disables filename globbing (see GLOB command). -s:filename Specifies a text file containing FTP commands; the commands will automatically run after FTP starts. -a Use any local interface when binding data connection. -A login as anonymous. -w:buffersize Overrides the default transfer buffer size of 4096. host Specifies the host name or IP address of the remote host to connect to. Notes: - mget and mput commands take y/n/q for yes/no/quit. - Use Control-C to abort commands. So. please advice. Thanks |
|
||||
|
windows ftp client doesn't cut it. if you want, go download an ftp client for windows that support specifying a port number. Or, you can use a programming language such as Perl or Python with their ftp module. those modules allow you to specify connection with a different port. eg Python
Code:
#!/usr/bin/env python
import ftplib
server="localhost"
user="anonymous"
password="test@hotmail.com"
try:
ftp = ftplib.FTP()
ftp.connect(server,21) #specify port number when connection
ftp.login(user,password)
except Exception,e:
print e
else:
ftp.cwd("incoming")
ftp.retrlines('LIST')
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|