We are getting complaints on FTP connections.
Problem:
FTP connects to server but it will not show list of files or folders on ftp account.
Errors you will see in logs:
Entering passive mode (345,54,34,85,455) .
Now you won’t see further response.
Solution:
1) Login to shell
2) Edit /etc/proftpd.conf
3) You can see
| Quote: |
# Port 21 is the standard FTP port.
Port 21 |
Add following lines after above command
| Quote: |
# Added to make passive transfer work
# use part of the IANA registered ephemeral port range
PassivePorts 49152 49161 |
4) restart ftp server from /etc/rc.d/init.d/proftpd restart
5) Now we need to above passive ports range to Firewall
6) Edit /etc/apf/conf.apf
You can see following lines
| Quote: |
# Common ingress (inbound) TCP ports
IG_TCP_CPORTS=”21,25,53,73,80,143,443,110,995,2080_2099,” |
Now add passive ports 49152_49161 range to IG_TCP_CPORTS.
After adding it looks like
| Quote: |
# Common ingress (inbound) TCP ports
IG_TCP_CPORTS=”21,25,53,73,80,143,443,110,995,2080_2099,49152_49161″ |
7) Restart apf firewall. service apf restart
9) Now you need to connect FTP using Passive Mode. Clients should also connect FTP using Passive Mode only.
FTP related issues
Please see following link Active and Passive FTP connection modes.
http://slacksite.com/other/ftp.html
FTP related issues
Login to shell as root .
shut it down from the init script,
/etc/rc.d/init.d/proftpd stop
and start it up from the shell with
proftpd -nd9
(you might need to type the full path, by default /usr/sbin/proftpd)
for debug mode.
FTP related issues
Customer need to check below settings in his Dreamweaver.
1. Change the Preference settings from edit :
FTP Time Out (Default = 60). increase the FTP Time Out setting from 60 to 120 seconds or higher higher number to allow more time to transfer files.
The reason may be that the files are not transferring before the time-out setting in Dreamweaver preferences has been reached, causing the connection to be lost. This preference can be reset to allow more time to process files,avoid FTP errors,and improve FTP reliability.
2. also check if you are behind a router / firewall and are you using Zone Alarm ? The critical settings in the Site FTP Preferences dialog box are: FTP Connection: and Disconnect After. .Minutes Idle. Please leave this option unchecked.
3. Try Passive Mode : Check the Use Passive Mode box. If not try both checking and unchecking Passive mode.
4. Try using FTP from a different computer at your same location
visit :
http://www.macromedia.com/support/dreamwea…hooting_ftp.htm for more information
FTP related issues
FTP timeout settings varies from host to host.
TimeOut Settings are as follows.
Timeout Idle - 900 seconds.
Timeout No transfer - 900 seconds
FTP related issues
The most common problem when your logins rejected is that you are either:
1) Entering wrong user name and password
2) FTP Server Down
3) Recently Changed cpanel password
Entering wrong user name and password :
You need to use cpanel user name and password for FTP also.
FTP Server Down :
If you see any server related errors timeout etc., contact your hosting provider.
Recently Changed cpanel password:
If you have changed the password for cpanel and you have found that the new FTP password is not working,Then contact your Hosting provider as they need to Re-Syncronise the FTP passwords on your server.
FTP related issues
If you want to upload files to your domain through FTP you will use following information.
Every FTP Client software needs to be configured before connecting to your domain FTP account.
Here are the common settings:
FTP Server Name: ftp.yourdomain.com ( After domain propagation )
If your domain is still under propgation you have to use your server IP address instead of ftp.yourdomain.com or dedicated IP if you have any.
User name : This is the same as your cpanel username.
If you’re trying to access an sub-ftp account , then the username will be
sub-ftpusername@yourdomain.com just like your full email address.
Password: This is again same as your cpanel login password.
If you are trying to access sub-ftp account then you should use sub-ftp account password.
After connecting your domain FTP you can upload files.In Cpanel you have to upload all your files to Public_html folder.
Make sure you are uploading all your site files to Public_html folder
FTP related issues
FTP is a client-server protocol, which allows a user on one computer to transfer files to and from another computer over a TCP/IP network. This is also the client program the user executes to transfer files.
In other words - FTP is a simple and convenient way to get files uploaded and downloaded to and from your website.
Number of FTP client softwares avaliable for download. One i can suggest you is smatFTP from http://www.smartftp.com
You can also download WS_FTP from http://www.ipswitch.com and CuteFTP from
http://www.globalscape.com
FTP related issues
ou can go througth the following commands which are like boom to check the current ftp activity on the server.
root@svrxx [~]# pure-ftpwho
+——+———+——-+——+——————————————-+
| PID | Login |For/Spd| What | File/IP |
+——+———+——-+——+——————————————-+
|24550 | endles46| 00:17 | IDLE | |
| ” | ” | ” | ” | -> ip24-250-151-121.bc.dl.cox.net |
+——+———+——-+——+——————————————-+
|25256 | twisty46| 00:11 | IDLE | |
| ” | ” | ” | ” | ->66-169-213-134.dhcp.dntn.tx.charter.com |
+——+———+——-+——+——————————————-+
root@svr46 [~]# pure-ftpwho -s
27142|carlwo46|47|IDLE||24-182-59-18.dhcp.nlto.ca.charter.com|svr46.ehostpros.com|21|0|0|0|0
24550|endles46|1133|IDLE||ip24-250-151-121.bc.dl.cox.net|svr46.ehostpros.com|21|0|0|0|0
25256|twisty46|786|IDLE||66-169-213-134.dhcp.dntn.tx.charter.com|svr46.ehostpros.com|21|0|0|0|0
For other commands with pre-ftpwho use the help option for the command
root@svrxx [~]# pure-ftpwho -h
Usage :
-c : this program is called by a web server (CGI mode)
-h : help
-H : don’t resolve host names, only show IP addresses
-n : synonym for -H
-p : output Apple / GNUStep plist data
-s : easily parsable output for shell scripts
format is :
pid|acct|time|state|file|peer|local|port|current|total|%|bandwidth
-v : output verbose ASCII
-w : output HTML page (web mode)
-W : output HTML page without header/footer (embedded mode)
-x : output XML data
For the complete info regarding the pure-ftpd, you can go through the following url:-
http://pureftpd.sourceforge.net/README
FTP related issues
FTP (File Transfer Protocol), is a way of moving files from one machine to another. FTP is the most common way to update a web site with contribute.
To connect to an FTP server with Contribute, you must have the following basic information:-
1.The site address:- Example: http://www.domain.com . The site address is the URL which you use to navigate to a site in a browser. When you put a URL address into a browser, the browser looks to the HTTP server for that information.
2.The FTP server address:- The FTP server address may have an ftp prefix, such as ftp.domain.com, or it may look like a standard url, such as www.domain.com .
3.User name and password:- FTP account information which may differ from other server login information.
4.The location of the web files on the server:- You have to upload the web files for your website to the web directory for your website . For example, /public_html/ means that your website’s files are contained in a folder called public_html, which is in the root folder(/home/username) of the website.
FTP related issues, MySQL and databases