• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting an FTP URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting an FTP URL


  • Subject: Re: Getting an FTP URL
  • From: Ryan Joseph <email@hidden>
  • Date: Sat, 15 Dec 2007 10:24:15 +0700

You're right, some do require the address. It looks like i'm mainly referring to Transmit which takes my domain and connects successfully so I assumed they were using accessing that info from the DNS server, or a convention to build the URL from the domain and user name (similar to mentioned below by prefixing ftp. the domain is common). for example: ftp://USER@DOMAIN/ can be a valid URL I have had before.

The other reason I asked this was for experimenting with contact the server using CFSocket but I could not figure out how to resolve a sockaddr_in from a valid FTP URL or domain for that matter. Again I thought the DNS server held this information and thus perhaps CFHost could retrieve the data. any ideas on that? 

On Dec 15, 2007, at 10:04 AM, Nathan Duran wrote:


On Dec 14, 2007, at 6:02 PM, Ryan Joseph wrote:

Oh, I'm sorry, I assumed I meant basic FTP client functionality. For example in any client program you are prompted for your servers domain, never an FTP URL or IP address. How is the DNS host resolved into such information?

I don't know what kind of FTP clients you've been using, but all of the ones I've seen required a valid address. If the zone has been configured such that "ftp.example.com" is a simple CNAME record pointing straight at the plain "example.com" entry, then they'll ultimately be synonymous, but the client has no control over that whatsoever and it should never be assumed to be the case.

You either have a valid address or you don't. There's no way to pull one out of thin air for any given domain name (unless the admin hasn't secured their BIND installation and anonymous zone transfers are allowed, in which case you can issue a query to get a full listing of a given zone file's contents).

Regards, 
        Josef


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Getting an FTP URL
      • From: Mark Pauley <email@hidden>
References: 
 >Getting an FTP URL (From: Ryan Joseph <email@hidden>)
 >Re: Getting an FTP URL (From: Nathan Duran <email@hidden>)
 >Re: Getting an FTP URL (From: Ryan Joseph <email@hidden>)

  • Prev by Date: Re: Getting an FTP URL
  • Next by Date: Re: Getting workgroup of mac
  • Previous by thread: Re: Getting an FTP URL
  • Next by thread: Re: Getting an FTP URL
  • Index(es):
    • Date
    • Thread