473,406 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

FTP blocked?

Nepomuk
3,112 Expert 2GB
Hi everybody!

I'm facing a problem right now - I'm supposed to write a program, which should download some data from a server and it should be run from computers within networks, which have FTP blocked, so I'll have to use an alternative - which would be HTTP.

Now my question is, what exactly is (might be) blocked, when FTP isn't allowed - is just Port 21 blocked or is it the actual protocol? Or are there various common ways of blocking FTP and if so, how do they work?

My thought was, that I could establish an FTP connection via the local Port 80 (HTTP does use the local port 80 normally, doesn't it?) and so use already available code.

Can anyone help?

Greetings,
Nepomuk
Sep 17 '07 #1
2 4606
docdiesel
297 Expert 100+
Hi,

ftp protocol is using two channels. The first one is port 21 for basic communication. If data is to be transfered (directory listing, files, etc.), this is to be sent via a second channel. Usually the ftp server is opening a channel back to the client (active ftp), but because these days clients usually are placed behind firewalls etc., one may open the 2nd channel from client to server alternatively (passive ftp).

Try passive ftp first before searching for other alternatives. It's just a setting in your ftp client program.

Regards, Bernd
Sep 17 '07 #2
Nepomuk
3,112 Expert 2GB
Thanks, but that doesn't solve the problem, because
  1. I'm writing the program myself and
  2. I have no possibility to check every single firewall (software AND hardware firewalls that is), that the clients may have installed and which may or may not block the Protocol itself (never mind the ports).
I can switch to passive mode of course, but still that might or might not work. So I have to try alternatives or know exactly, that no firewall will stop my ftp client from using port 80 (or any other port).

Greetings,
Nepomuk
Sep 17 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Jay Vinton | last post by:
I recently posted my first .aspx effort and am getting calls from users saying the page is being blocked and they can't view it. They got a hyperlink in an e-mail (see below). Most have been...
7
by: jonathan | last post by:
I installed service pack 2. Sometimes I saw a link that link to: <a href="javascript:popChatWin(0)"> Sometimes I use javascript to redirect website. Service pack 2 block that. Sometimes the...
17
by: laurenq uantrell | last post by:
In master.dbo.sysprocesses I can filter for blocked users (Blocked >0) and I can create a self join(ON SPID = Blocked) to see what user Loginame is causing the block. In the column I can see the...
4
by: Dr. J | last post by:
How to terminate a blocked thread? In my form's "load" I launch a TCP listening thread that stays in an infinite loop waiting for incoming TCP packets. In this form's "closing" I try to...
3
by: Boniek | last post by:
Hi My main thread is waiting for data from database ( opened Sqlconnection etc) and my Main Form is also blocked. I have a ProgressBar on Status Bar which show to a user how percent data is...
2
by: Qindong Zhang | last post by:
My socket application blocked at socket.receiver() after received all information from sender. Should socket.Receive() return 0 after no more data available? Note: My socket object was not close on...
4
by: natG | last post by:
In 9.1 (Linux 64 bit) when a buffer pool is set to self-tuning, does this imply that the blocked versus non-blocked aspect is also self-tuning? If not, what is a good rule of thumb for a 64 bit...
4
by: dd | last post by:
I have a scenario where my popups are being blocked by IE6+ and Firefox. The problem is that although the popup is a direct result of the user clicking on the link (meaning that they WANT the...
1
by: Andy Bates | last post by:
Hi - Can't see another newsgroup to post this in; so thought I'd post here. I have a C# application that relies on multicast UDP to detect how many PCs the application is executing on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.