WindowsPhone Silverlight (8.0 & 8.1) : Upload files to Ftp Server (C# - XAML)

Introduction:I am very happy to write an article about FTP server access from windows phone programming using, there are no direct APIs available for leveraging FTP services in a Windows phone app.

C# (377.0 KB)
230 times
Add to favorites
E-mail Twitter Digg Facebook

Solution explorer

#pragma checksum "D:\Development\WindowsPhone\Subbu\Articles\Subbu\Articles\WindowsPhoneFTP\WindowsPhoneFTP\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5824CFF93A8E63CF469D46C43CFE2CB6"
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.34014
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>

using System;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interop;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Resources;
using System.Windows.Shapes;
using System.Windows.Threading;

namespace WindowsPhoneFTP {
    public partial class App : System.Windows.Application {
        private bool _contentLoaded;
        /// <summary>
        /// InitializeComponent
        /// </summary>
        public void InitializeComponent() {
            if (_contentLoaded) {
            _contentLoaded = true;
            System.Windows.Application.LoadComponent(this, new System.Uri("/WindowsPhoneFTP;component/App.xaml", System.UriKind.Relative));