473,395 Members | 1,535 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,395 software developers and data experts.

FTP to remote server

I'm having no luck getting the FTP sample found here:

http://www.csharphelp.com/archives/archive9.html

to work. I've tried every conceivable angle, but can't figure it out why I
can't successfully upload a file. I'm almost convinced it's a permissions
issue when the System.IO tries to read the file from the client machine.
The file gets created on the remote FTP server, but doesn't get written to.
Has anyone played around with this with any success?

Any help would be greatly appreciated.

Thanks
Nov 18 '05 #1
2 994
Hi,

I haven;t used it, but IIRC the ftp protocol create two connections, maybe
you have to config your firewall,
what if you create a ftp server on your machine and test it?
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Wayne Carlaw" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I'm having no luck getting the FTP sample found here:

http://www.csharphelp.com/archives/archive9.html

to work. I've tried every conceivable angle, but can't figure it out why I
can't successfully upload a file. I'm almost convinced it's a permissions
issue when the System.IO tries to read the file from the client machine.
The file gets created on the remote FTP server, but doesn't get written to. Has anyone played around with this with any success?

Any help would be greatly appreciated.

Thanks

Nov 18 '05 #2
Hi Wayne,

Read this document, so you'll get a good understanding
of what are FTP file transfer Active and Passive modes.
http://slacksite.com/other/ftp.html

This sample uses Active mode transfers, and your (or your
network's) firewall does not allow incoming connection
from ftp server to your computer on port 20.

Solution: Tell your network administrator to enable incoming
port 20 requests to you computer.

--
Hope this helps,
Zeeshan Mustafa, MCSD
"Wayne Carlaw" <no****@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I'm having no luck getting the FTP sample found here:

http://www.csharphelp.com/archives/archive9.html

to work. I've tried every conceivable angle, but can't figure it out why I
can't successfully upload a file. I'm almost convinced it's a permissions
issue when the System.IO tries to read the file from the client machine.
The file gets created on the remote FTP server, but doesn't get written to. Has anyone played around with this with any success?

Any help would be greatly appreciated.

Thanks

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: iqbal | last post by:
Hi all, We have an application through which we are bulk inserting rows into a view. The definition of the view is such that it selects columns from a table on a remote server. I have added the...
1
by: mbailey | last post by:
Hello- I have a Sql Server 2000 database offsite that I would like to back up to a local machine. I am using Enterprise Manager on a local machine to administer the remote db. Whats the best...
2
by: Douglas Harber | last post by:
If I have DB2 8.1 (FP5, I believe, but not relevant to my question...I hope) installed on my desktop, do I have what I need to connect to a remote DB2 server (also running 8.1 FP5) from my desktop...
2
by: James | last post by:
Dear Access Guru's, Hopefully you can help me (as Microsoft don't seem to be able to) We have an Access database on a Windows 2003 server with 5 CALS in our office. Access is loaded onto...
0
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed...
5
by: Mitya Mitriev | last post by:
Hi I created ASP.NET 2.0 web application that uses SQL Server 2000 database and it works perfectly when website and Sql server were on local machine. Then I installed application on production...
2
by: Tor Inge Rislaa | last post by:
Database on remote server On the remote server where my ASP.NET application is located there is no SQL Server or SQL Server Express. When I test my application locally it works fine because...
4
by: Noy B | last post by:
Hi, I have developed a small application that is using a MSAccess DB. the problem is that it was developed on a machine where the application and the DB are both located. now it needs to be...
5
by: Cirene | last post by:
I just deployed my new ASP.NET (3.5 FW) site to the hosting company I'm using, webhost4life. NOTE: I HAVE deployed other SQL Server sites to the same account with no issues. Now I'm getting...
7
by: RN1 | last post by:
Is it possible to connect to my local SQL Server 2005 database from a remote web server? If yes, what ConnectionString do I use? Thanks, Ron
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.