Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
QuestionWebBrowser object and the result of an Ajax request [modified] Pin
LeonardoDaga25-May-10 13:17
LeonardoDaga25-May-10 13:17 
AnswerRe: WebBrowser object and the result of an Ajax request Pin
AspDotNetDev25-May-10 15:10
protectorAspDotNetDev25-May-10 15:10 
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 
Please confirm: Was it a 503 error or a 530 error? (I list them because of the obvious possibility of transposition of digits)

503 is Bad Sequence of Commands. Do you have KeepAlive set true? It needs to be set false. Make sure not to set it after making any call to GetRequestStream, BeginGetRequestStream, GetResponse, or BeginGetResponse. Doing so will result in an InvalidOperationException.

Not to say that it is the only thing that can cause a 503. Just one of the obvious causes. Rule it out first.
FtpWebRequest request = (FtpWebRequest)FtpWebRequest.Create(uri);
request.Method = WebRequestMethods.Ftp.UploadFile; //assuming you are uploading
request.KeepAlive = false;
request.UsePassive = true; //only if you want to use Passive FTP. If you want Active FTP, set false


530 is Unauthorized Login. Did you provide NetworkCredentials for your FtpWebRequest?
request.Credentials = new NetworkCredential(userName.toString(), password.toString(), domain.toString());


Are you using BasicAuth or IntegratedWindowsAuthentication?
"I need build Skynet. Plz send code"

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 
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
mve#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 

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.