FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old February 8th, 2001, 12:28 PM
crazy-kz crazy-kz is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 18 crazy-kz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 19 sec
Reputation Power: 0
Question FTP with PHP on 2K, permissions issue, easy question I think

I'm trying to use ftp_get to get a file onto a win2K box that is running the lastest PHP4.

I think I have a permissions problem but I have two questions that, if answered, might help me solve it.

1. I'm not specifing a path of where to put the file, hoping that if the download is successful, it would tell me where the root is for php downloads. Can someone tell me where I can find where PHP will download a file to if you don't specify a path. When I did a dirname on the file it returns "." (san quotes) which means the current directory, but what directory is that?

2. The user permissions may very well have something to do with this problem. Which user is the user that is being used when you don't do any authentication first? Essentially what account is the equivalent of "nobody" on Apache/Linux. I assume it's either IUSR_ or IWAM_ but can someone tell me which one or if neither then what account I should look for?

I know I'm connecting to the ftp server and I know I have found the file to download but the error I get when I execute the ftp_get command is:
Warning: error opening tmpfile in C:\FTP_Root\wwwroot\pmusage\dbfunctions.php on line 46

Where dbfunctions.php on line 46 is my call to ftp_get.

Any help would be greatly appreciated.

Thanks,
Curt

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > FTP with PHP on 2K, permissions issue


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway