RE: [flexcoders] file download doesnt work?

2006-12-12 Thread Tony Dulin
ptimal Payments Inc. - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian Holmes Sent: Tuesday, December 12, 2006 4:34 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] file download doesnt work? Not Sure if this will work Dimitr

RE: [flexcoders] file download doesnt work?

2006-12-12 Thread Dimitrios Gianninas
ps.com Subject: RE: [flexcoders] file download doesnt work? Not Sure if this will work Dimitrios, But I seem to remember having similar issues and reading somewhere that the constructor of the Url Request expected a url as a string. var req:URLRequest = new URLRequest("http://localhos

RE: [flexcoders] file download doesnt work?

2006-12-12 Thread Brian Holmes
06 2:22 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] file download doesnt work? Yup tried that too... I'm perplexed! Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Be

RE: [flexcoders] file download doesnt work?

2006-12-12 Thread Dimitrios Gianninas
bject: Re: [flexcoders] file download doesnt work? How about changing reg.method="POST" instead GET?. Valy - Original Message From: Dimitrios Gianninas <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, December 12, 2006 9:28:40 AM Subject: RE: [flex

Re: [flexcoders] file download doesnt work?

2006-12-12 Thread Valy Sivec
How about changing reg.method="POST" instead GET?. Valy - Original Message From: Dimitrios Gianninas <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, December 12, 2006 9:28:40 AM Subject: RE: [flexcoders] file down

RE: [flexcoders] file download doesnt work?

2006-12-12 Thread Dimitrios Gianninas
Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Valy Sivec Sent: Tuesday, December 12, 2006 9:28 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] file download doesnt work? I worked w

Re: [flexcoders] file download doesnt work?

2006-12-12 Thread Valy Sivec
I worked with upload/download a while back and it's a great improvement in 2.0 vs 1.5. Have you tried to call your servlet outside Flex?. http://localhost: 7001/billing/ servlet/FileSvlt I suspect that your servlet is not configured properly in web.xml Valy - Original Message Fr

RE: [flexcoders] file download doesnt work?

2006-12-12 Thread Dimitrios Gianninas
Ok I switch the code around a bit and it looks more like this now: var req:URLRequest = new URLRequest(); req.url = "http://localhost:7001/billing/servlet/FileSvlt";; req.method = URLRequestMethod.GET; req.data = new URLVariables("operation=DOWNLOAD"); try { var fr:FileReference = new FileRefer