Re: [mono-android] FTP-Upload

2012-08-23 Thread Sayed Arian Kooshesh
this line looks fishy: Android.OS.Environment. RootDirectory + Java.IO.File.Separator + "Datenbank.xml"; On Fri, Aug 17, 2012 at 1:26 AM, MysteriX wrote: > Android.OS.Environment.RootDirectory + > Java.IO.File.Separator + "Datenbank.xml"; > -- Extreme Knowledge is not something for which

[mono-android] FTP-Upload

2012-08-16 Thread MysteriX
Hi, i try to upload a File (/system/Database.xml) to my FTP-Server. i use this code: { public void Main() { string ftplocation = "ftp://usrn...@host4.tipido.com/htdocs";; string file = Android.OS.Environment.RootDirectory + Java.IO.File.Separator + "Datenba

Re: [mono-android] FTP Upload

2012-02-23 Thread Miljenko Cvjetko
Hi I don't see credentials... Are You sure? request.Credentials = new NetworkCredential ("anonymous","user@host.domain"); regards mel On 2012.02.23 14:23, Natanael wrote: I am with the following error in the command request.GetRequestStream Stream stream = () // ERROR: Not Connected , th

[mono-android] FTP Upload

2012-02-23 Thread Natanael
I am with the following error in the command request.GetRequestStream Stream stream = () // ERROR: Not Connected , the routine below, can someone help me. Uri uri = new Uri(ftpHost + "/" + remoteFilePath); FtpWebRequest request = (FtpWebRequest)FtpWebRequest.CreateDefault( uri );