Click here to Skip to main content
16,012,168 members
Home / Discussions / C#
   

C#

 
GeneralRe: WebBrowser object and the result of an Ajax request Pin
LeonardoDaga30-May-10 7:36
LeonardoDaga30-May-10 7:36 
GeneralRe: WebBrowser object and the result of an Ajax request Pin
AspDotNetDev30-May-10 10:26
protectorAspDotNetDev30-May-10 10:26 
QuestionFTPClient Security? Pin
Chase Davis25-May-10 12:27
Chase Davis25-May-10 12:27 
AnswerRe: FTPClient Security? Pin
Richard MacCutchan25-May-10 22:43
mveRichard MacCutchan25-May-10 22:43 
GeneralRe: FTPClient Security? Pin
Chase Davis26-May-10 2:11
Chase Davis26-May-10 2:11 
AnswerRe: FTPClient Security? Pin
Alaric_26-May-10 2:19
professionalAlaric_26-May-10 2:19 
GeneralRe: FTPClient Security? Pin
Chase Davis26-May-10 2:57
Chase Davis26-May-10 2:57 
GeneralRe: FTPClient Security? Pin
Alaric_26-May-10 3:51
professionalAlaric_26-May-10 3:51 
Chase Davis wrote:
Why would KeepAlive need to be false on one computer, but could be true on another?

Differing interpretations of the implementation necessary to fulfill the requirements of RFC 959[^]


Is there a firewall between your client and the printer?
Are you sure that port 20 is available as your FTP data port?

If either a firewall exists or port 20 is unavailable, you'll want to use Passive FTP.

If you're trying to cross a firewall, when the server tries to complete the Active handshake, your firewall will drop the request because it is initiated server-side and will be accessing a "high numbered" (> 1023) port. (the port range can be limited, but its done server-side)

If port 20 is restricted, then attempting to access it via Active FTP will result in failure, because ActiveFTP requires port 21 as the Command port and port 20 as the Data Port. Passive will require 21 as the command port and the server will respond with a PORT command indicating its own open Data port.

as simple as
ftpReq.UsePassive = true;


This is just a hunch on my part, but I imagine you're going to want to write to the Printer's internal Print Buffer rather than uploading a file to it. Maybe not. I've got working code that I could send if you're wanting to use this technique, but I don't want to post the code in an open forum.
"I need build Skynet. Plz send code"

Questioncombining 2 project into one Pin
igalep13225-May-10 12:00
igalep13225-May-10 12:00 
AnswerRe: combining 2 project into one Pin
#realJSOP25-May-10 12:17
professional#realJSOP25-May-10 12:17 
GeneralRe: combining 2 project into one Pin
AspDotNetDev25-May-10 15:07
protectorAspDotNetDev25-May-10 15:07 
AnswerRe: combining 2 project into one Pin
Johnny J.25-May-10 21:00
professionalJohnny J.25-May-10 21:00 
AnswerRe: combining 2 project into one Pin
Abhinav S25-May-10 23:03
Abhinav S25-May-10 23:03 
AnswerRe: combining 2 project into one Pin
annathor25-May-10 23:08
annathor25-May-10 23:08 
QuestionSplitter control, resize immediately? Pin
Druuler25-May-10 11:14
Druuler25-May-10 11:14 
AnswerRe: Splitter control, resize immediately? Pin
Luc Pattyn25-May-10 14:16
sitebuilderLuc Pattyn25-May-10 14:16 
GeneralRe: Splitter control, resize immediately? Pin
Druuler25-May-10 14:32
Druuler25-May-10 14:32 
GeneralRe: Splitter control, resize immediately? Pin
Luc Pattyn25-May-10 14:47
sitebuilderLuc Pattyn25-May-10 14:47 
AnswerRe: Splitter control, resize immediately? Pin
Alan N26-May-10 5:42
Alan N26-May-10 5:42 
Questionrichtextbox.lines problem Pin
bfis10813725-May-10 8:32
bfis10813725-May-10 8:32 
AnswerRe: richtextbox.lines problem Pin
Luc Pattyn25-May-10 8:37
sitebuilderLuc Pattyn25-May-10 8:37 
GeneralRe: richtextbox.lines problem Pin
bfis10813725-May-10 8:49
bfis10813725-May-10 8:49 
GeneralRe: richtextbox.lines problem Pin
Luc Pattyn25-May-10 9:13
sitebuilderLuc Pattyn25-May-10 9:13 
GeneralRe: richtextbox.lines problem Pin
bfis10813725-May-10 9:21
bfis10813725-May-10 9:21 
AnswerRe: richtextbox.lines problem Pin
Dr.Walt Fair, PE25-May-10 9:38
professionalDr.Walt Fair, PE25-May-10 9:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.