Android Question FTP.Initialize Port Number

Robert Valentino

Well-Known Member
Licensed User
Longtime User
is the port number always needed?

I am sending a PRN to a printer on the network. Have IP Address.

Am currently using Port 21 (copied from Erel's example)

What are valid ports?
Is a Port Number needed for what I am doing?

How do I know what Port Number the users machine is using?

Is there someway I can retrieve this information?

Thanks

BobVal
 

Robert Valentino

Well-Known Member
Licensed User
Longtime User
OK. From the research I just did, 21 seems to be standard for most printers (HP, Epson, Brother [ or at least my Brother ])

Thanks
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…