FTP issues in C#

Soldato
Joined
5 May 2004
Posts
4,462
Location
Northern Ireland
I was wondering if someone could help. I've made a little program that gets connects to a ntlworld.com ftp site and downloads a file then uploads it again.

It works perfectly for me but I sent the application to two different people and then in counter the following problem:

"The underlying connection was closed, the server commited a protocol violation"

I've checked and there seems to be problems around http and ftp WebRequests.

But surely if it works for me then it should work everyone else?

Any ideas?

Would anyone be willing to try the application out on their own system?

Thanks

Blackvault
 
I'll try it on mine and see what help I can give. :)

Thanks mate. I'll drop you a trust email later.

Just an update. I went to a friends house who is Virgin/Ntlworld like myself and he managed to run it fine. So it might be looking like that only Virgin/ntlworld IPs can access their FTP site.

So i might have to find somewhere else to host my files.

Blackvault
 
If its not a local firewall issue, then it sounds like Virgin are limiting access to FTP to their own IP's.

As an acid test try to connect through a full blown FTP client from a box that isnt on Virgin.

Few options I can see:

1)Online FTP. I dont think you'll find a reliable FTP provider online for free, I could be wrong but there might be some nominal fee then a charge per GB or similar. Just guessing there so may well be wrong.
2)Host the files yourself. Filezilla have great free server and client.
3)Not sure if this is relevant but have you considered source control? Assembla and github offer free SVN and GIT repos. This way you will be able to track differing versions of the uploaded files. Assembla have their own REST api here and im sure github will do too.
 
Back
Top Bottom