• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 360
  • Last Modified:

Not able to upload to FTP site

I just set up a Windows 2008 server in the cloud. I will like to upload  files from this server to another offsite server using FTP. I was successful in connecting, listing directory but not able to write. I have determined that this is not an issue with the destination FTP server because I was able to do the same thing using the same credentials on another computer. I have made sure port 21 is open to both VPN and external traffic. The other thing is if I just map a drive from the destination server, I am able to both view and write. Problem occurs only when using FTP protocol. What could possibly be the problem?
3 Solutions
Dave BaldwinFixer of ProblemsCommented:
Standard FTP uses port 21 for admin but port 20 and many other 'ephemeral' ports for data transfer.  You usually have to enable the FTP program in the firewall, not just the one port.  You may have to enable 'passive' mode also to be able to get thru the firewall.

Here http://www.iis.net/learn/publish/using-the-ftp-service/configuring-ftp-firewall-settings-in-iis-7 is an article on using and setting up FTP in IIS7.
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Are you using AWS?
You might need to speak to the cloud infrastructure team as I experienced this when I was working on AWS(Amazon Web Services) project with a client.

An FTP session uses at least two connections.  The control channel is on port 21 by default.  This channel is used to authenticate, change directories and negotiate the parameters of the data channel.  The data channel is opened on demand to transfer files.  Multiple ports may be used when multiple files are transferred in a single session.  The data channel is typically a port above 1024.

Note: If you were planning to use the DOS ftp.exe client to send files between hosted machines be aware that ftp.exe only supports active mode data channels so you'll need a custom firewall configuration on the firewall that protects the sending computer.
Isaac2013Author Commented:
I have talked to my cloud provider and they claim no ports are blocked. Does anybody know what specific ports I need to ask them to open? I am using Filezilla.
Dave BaldwinFixer of ProblemsCommented:
If you are using FileZilla to access a remote site, you normally shouldn't have to open any ports unless you have a firewall that blocks outgoing connections too.  Then you should tell your firewall that the Filezilla program is allowed access.  FTP can use a lot of different ports and opening just one will not be adequate.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now