FTP Task question

  • I've got an FTP task that goes out to a .com FTP site and grabs a file. The FTP site uses port 21, but what port is the FTP Task actually leaving on? Is it port 80 because I'm going to a website? Or is it port 21 because it's an FTP task?

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

  • If you're asking what port you're connecting from, the answer is that your computer picks a random port to make the connection to the remote FTP server. When your computer goes to talk to the FTP site, it tells the remote site what port it is talking on so they can communicate. 
    If you go into the windows resource monitor and look at the network tab, you can see what your local and remote ports are.

  • stevenb 14609 - Thursday, June 29, 2017 1:07 PM

    If you're asking what port you're connecting from, the answer is that your computer picks a random port to make the connection to the remote FTP server. When your computer goes to talk to the FTP site, it tells the remote site what port it is talking on so they can communicate. 
    If you go into the windows resource monitor and look at the network tab, you can see what your local and remote ports are.

    So if a port is unavailable, it'll just pick another random port? Or will it fail?

    Or is your last statement saying it'll pick the ports available in the network tab of the resource monitor?

    Brandie Tarvin, MCITP Database AdministratorLiveJournal Blog: http://brandietarvin.livejournal.com/[/url]On LinkedIn!, Google+, and Twitter.Freelance Writer: ShadowrunLatchkeys: Nevermore, Latchkeys: The Bootleg War, and Latchkeys: Roscoes in the Night are now available on Nook and Kindle.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply