element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum FTP pi
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 665 subscribers
  • Views 667 views
  • Users 0 members are here
  • raspberry_pi
Related

FTP pi

gam3t3ch
gam3t3ch over 7 years ago

Trying to ftp into my pi

 

I get this:

STATUS:>    Connecting to 192.168.1.24

STATUS:>    Socket connected. Waiting for welcome message...

    SSH-2.0-OpenSSH_6.7p1 Raspbian-5+deb8u3

 

then that's about it.

 

using my pi login info and tried root as well same result. as well as on port 22.

 

Sure I am pretty sleepy at the moment and still at work so having a huge brain fart anyone able to lead me into the right direction

 

image

 

I am able to ssh into the pi tho.

 

Any help would be great.  have the pi setup as a webserver at the moment. just would like to use ftp for building a site and testing on the pi.

  • Sign in to reply
  • Cancel
Parents
  • rew
    rew over 7 years ago

    Hi Wesley,

     

    You seem to be connecting to the SSH port, the one numbered 22.

     

    That port is used to gain shell access to the pi. FTP is an old fashioned protocol that works on port 21.

     

    Now when you have shell access you can run a program on both ends and transfer files like that. That's what SFTP, SCP and RSYNC all do.

     

    So if you're using an old FTP program but adjusting the port number to that of SSH, the program and the server-program will be talking different protocols. That can't work. You could use something like "sftp" or "scp" to copy files across.


    To be honest: I prefer "rsync" (even though it is not installed by default on the pi). When nothing special is going on, I'm just typing two letters more than scp. But when for example a big transfer needs to be stopped and restarted, rsync is way better. The most common case is when I tell rsync to copy a bunch of data but it then starts copying data that don't need copying or can wait for later. So then I abort the transfer and restart while excluding the non-needed data. That's much more efficient when you're using rsync.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • rew
    rew over 7 years ago

    Hi Wesley,

     

    You seem to be connecting to the SSH port, the one numbered 22.

     

    That port is used to gain shell access to the pi. FTP is an old fashioned protocol that works on port 21.

     

    Now when you have shell access you can run a program on both ends and transfer files like that. That's what SFTP, SCP and RSYNC all do.

     

    So if you're using an old FTP program but adjusting the port number to that of SSH, the program and the server-program will be talking different protocols. That can't work. You could use something like "sftp" or "scp" to copy files across.


    To be honest: I prefer "rsync" (even though it is not installed by default on the pi). When nothing special is going on, I'm just typing two letters more than scp. But when for example a big transfer needs to be stopped and restarted, rsync is way better. The most common case is when I tell rsync to copy a bunch of data but it then starts copying data that don't need copying or can wait for later. So then I abort the transfer and restart while excluding the non-needed data. That's much more efficient when you're using rsync.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • gam3t3ch
    gam3t3ch over 7 years ago in reply to rew

    cool will look into rsync.   ya I thought it would have been a good time to get the pi server back up and was more wanting to ftp into it vs ssh just what am use to for my workflow for webdesign.  hopefully will be up and running again today tho after the distro update breaking my image.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube