title: Drupal Attachments (FileField) file path
body: <p>What function in Drupal gets file attachment path?</p>
  
  <p><strong>Edit:</strong> the attachments provided by Upload module in system section. But since you mentioned there may be another way around it. Maybe I could achieve may goals using FileField module so if you could tell me how to get a direct link of a file uploaded by FileField module that may also be very helpful.</p>
  
  <p><strong>Edit 2:</strong> 
  Ok I will start from my main and final objective:</p>
  
  <p>It is to get an image linking to a file which visibility I could be managed using CCK module.</p>
  
  <p>I am doing this step by step. So now I have written a code which generates the needed image and I have added that image to one of content types teaser. I found a way to warp my image in a tag and I had dug up simple attachments url. So my next step is to advance from simple upload attachment to the one added by FileFields and from odd looking HTML pace in all PHP document into beautifully managed CCK field.</p>
  
  <ul>
  <li>How to fetch file path of a file uploaded FileFields?</li>
  <li>Some plain and at the same time rich tutorials for making custom fields for CCK module.</li>
  </ul>