Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th December 2004, 08:48 PM
Detour Offline
Registered User
 
Join Date: Dec 2004
Location: chilltown
Posts: 53
PHP File Uploads/FTP Doesn't Work

I'm currently migrating some PHP from a win2k server to FC3.. Most things are working with little to no revision. However, I have encountered a problem. Here is the situation:

I have a page where an image is uploaded, along with some other info. These get passed to another page. This page moves the uploaded file into a directory named cache. Some other files are created and also placed in this directory. Then an FTP connection is opened and the files are sent there. Here the script fails and i don't understand why. The connection status initially returns true, so it has connected. But once I actually try to send files, the connection reports that it has failed. Any idea why??

Note: The files get uploaded moved and created properly. I tried chmod 755 cache, in case it was a permissions issue but it didn't seem to make a difference.
Reply With Quote
  #2  
Old 16th December 2004, 09:22 PM
Detour Offline
Registered User
 
Join Date: Dec 2004
Location: chilltown
Posts: 53
solved: had to switch on passive ftp (ftp_pasv)
Reply With Quote
Reply

Tags
file, php, uploads or ftp, work

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Testing Uploads bob Gallery 7 21st July 2009 05:00 AM
azureus 2.5.0.0 on FC6 is slow on uploads marko Servers & Networking 12 1st April 2007 04:44 AM
FTP Uploads latcarf Servers & Networking 2 24th September 2005 01:34 AM
Fast downloads but VERY slow uploads Ned Servers & Networking 3 9th September 2004 10:39 PM


Current GMT-time: 08:04 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat