Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: FTP Port for Data Connection and wwFTP

$
0
0
Re: FTP Port for Data Connection and wwFTP
West Wind Client Tools
Re: FTP Port for Data Connection and wwFTP
Jan. 7, 2013
11:25 am
3OQ0OHMCVShow this entire thread in new window
Gratar Image based on email address
From:Rick Strahl
To:Chad Newman

loFtp.nFtpPort?

+++ Rick ---



I'm using West WindClient Tools 5.0 and using wwftp to upload to our FTP Site that is running FTP version 7.5.
I'm running in passive mode.

The problem I'm running into is some clients are not able to complete the upload and I'm seeing error 425 1236.

According the Microsoft this error is occurring because the FTP Client attempts to use a port lower than 1024.
After reviewing the documentation, I don't see a way to set the FTP Client low port or am I missing something?

Thanks,

Chad Newman


Here is the Microsoft reference:

http://support.microsoft.com/kb/2505047

FTP 7.5 resets the data connection if an FTP client attempts to use a port lower than 1024 for the data connection
In earlier versions of IIS, an FTP client could choose to use a port lower than 1024 for the data connection, in both passive mode and active mode FTP communications. Beginning in FTP 7.5, when an FTP client tries to use a port lower than 1024 for the data connection, FTP 7.5 will reset the underlying TCP connection. For example, if an FTP client tries to do a passive-mode upload of a file using the STOR command, and tries to use a port lower than 1024 for the data connection, the upload will fail and entries similar to the following will be written to the FTP log:

2012-01-15 02:08:16 123.456.789.0 user01 123.1.1.1 40063 DataChannelOpened - - 0 0
2012-01-15 02:08:16 123.456.789.0 user01 123.1.1.1 40063 DataChannelClosed - - 1236 38
2012-01-15 02:08:16 123.456.789.0 user01 123.1.1.1 21 STOR file.txt 425 1236 0

NOTE: For an active-mode FTP upload using a data port less than 1024, the Win32 status will be 87 instead of 1236.



Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web


Viewing all articles
Browse latest Browse all 10393

Trending Articles