Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Ftp client socket


  • Please log in to reply
4 replies to this topic

#1 Jair

Jair

    New Member

  • Members
  • Pip
  • 9 posts

Posted 12 November 2012 - 12:06 PM

Hi, i need upload file to ftp server with socket with netduino plus. I can't use system.ftp class ( too big for deploy). Can u help me with code or class? Thank you

#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 12 November 2012 - 05:42 PM

Hi Jair,

Hi, i need upload file to ftp server with socket with netduino plus. I can't use system.ftp class ( too big for deploy). Can u help me with code or class?

First of all, Netduino Plus 2 has 6 times the code space...so you can use the System.Net.Ftp.dll (i.e. not too big for deploy).

With Netduino Plus 1, my best recommendation is to grab the source for System.Net.Ftp from the netmf.codeplex.com repository and then pull out anything you don't need. You may be able to slim it down to fit in the available code space.

Another option would be to investigate another file transfer mechanism. Perhaps you could do an HTTP post instead?

Chris

#3 Jair

Jair

    New Member

  • Members
  • Pip
  • 9 posts

Posted 12 November 2012 - 08:15 PM

Hi Jair,


First of all, Netduino Plus 2 has 6 times the code space...so you can use the System.Net.Ftp.dll (i.e. not too big for deploy).

With Netduino Plus 1, my best recommendation is to grab the source for System.Net.Ftp from the netmf.codeplex.com repository and then pull out anything you don't need. You may be able to slim it down to fit in the available code space.

Another option would be to investigate another file transfer mechanism. Perhaps you could do an HTTP post instead?

Chris


I will buy Netduino Plus 2 when it's avviable in europe's market. i'll try to get code from system.net.ftp. anyway do you have examples abiut HTTP post?

thanl you again

#4 Jair

Jair

    New Member

  • Members
  • Pip
  • 9 posts

Posted 13 November 2012 - 08:19 AM

Hi, I was able to create a program to connect to an ftp server socket to upload a file with netduino plus. look at zip.

Attached Files



#5 don664

don664

    Advanced Member

  • Members
  • PipPipPip
  • 77 posts
  • LocationHillcrest, KZN, South Africa

Posted 16 January 2013 - 08:52 AM

Hi there,

 

Has anyone used this with a wifi connection?

 

Thanks,

Donovan

 

EDIT- Have managed to sort of get this working over wifi, please check this topic: http://forums.netdui...7733-wifly-ftp/


Edited by don664, 17 January 2013 - 08:58 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.