Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to select wifi for ftp transfers?

How to select wifi for ftp transfers?

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    PieterB
    wrote on last edited by
    #1

    I can successfully use QFtp to upload a file to the ftp server through a Ethernet connection on my panda board, but I need to redirect FTP transactions though my wifi (wlan0) interface. Anyone have any idea how to do this?
    P.S. I can use "iw event" to tell me when the wifi is connected.

    H 1 Reply Last reply
    0
    • P Offline
      P Offline
      PieterB
      wrote on last edited by
      #2

      Since no one knows how to do this, I found one way adding the server static IP to the routing table:
      @ip route add [SERVER_IP_ADDRESS] dev wlan0@

      only one more problem. I have some tcp traffic that needs to go through eth0 and ftp traffic needs to go through wlan0.

      Anyone know how to divert traffic based on protocol type?

      1 Reply Last reply
      0
      • P PieterB

        I can successfully use QFtp to upload a file to the ftp server through a Ethernet connection on my panda board, but I need to redirect FTP transactions though my wifi (wlan0) interface. Anyone have any idea how to do this?
        P.S. I can use "iw event" to tell me when the wifi is connected.

        H Offline
        H Offline
        Huragan
        wrote on last edited by
        #3

        @PieterB
        Hello.
        QSocket class have metod which can chose web interface for connect. Use it. QFtp inheritate after QScocket.

        Śmieje się, bo życie jest śmiechu warte. - Petroniusz "Quo Vadis"

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved