SunQuest
           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 October 3rd, 2003, 04:00 AM
buddinghere buddinghere is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 23 buddinghere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 52 m 40 sec
Reputation Power: 0
Warning: ftp_put(): Opening data connection for newo.txt. in C:\Inetpub\wwwroot\_hq\d

sorry guys its.."newo.txt"

i am having a problem while uploading a file to ftp server ,its showing a warning :
Warning: ftp_put(): Opening data connection for newo.txt. in C:\Inetpub\wwwroot\_hq\demo\upload.php on line 15

though i am able to create the directories ,but not able to upload the files

<?php
$ftp_server="172.16.0.55";
$ftp_user_name='test';
$ftp_user_pass='test';
$src = $_FILES['filename']['tmp_name'];
$conn_id = ftp_connect($ftp_server); $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
ftp_mkdir($conn_id,$campaign_name);
ftp_chdir($conn_id,$campaign_name);
file_name='newo.txt';//renaming the file
$upload = ftp_put($conn_id,$file_name,$src,FTP_BINARY);
?>

Does anyone have any idea...

Reply With Quote
  #2  
Old October 3rd, 2003, 08:29 AM
buddinghere buddinghere is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 23 buddinghere User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 52 m 40 sec
Reputation Power: 0
please help me out,if u need more information please ask....

buddinghere.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Warning: ftp_put(): Opening data connection for newo.txt. in C:\Inetpub\wwwroot\_hq\d


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


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





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