quick question need quick answer

Thread Solved

Join Date: Nov 2008
Posts: 17
Reputation: asifkamalzahid is an unknown quantity at this point 
Solved Threads: 0
asifkamalzahid asifkamalzahid is offline Offline
Newbie Poster

quick question need quick answer

 
0
  #1
Nov 27th, 2008
if i have file name "file" on my ftp server in some folder and i want to upload a new file with same name "file" at the same folder. so it will create problom or it will modifiy the existing file.

i have the following error message


1 Warning: ftp_fput() [function.ftp-fput]: Access is denied. in G:\WEBROOT\aa\ftpcopy_ver2.php on line 34
There was a problem while uploading SD66.zip
2 Warning: ftp_site() [function.ftp-site]: SD66.zip: No such file or directory. in G:\WEBROOT\aa\ftpcopy_ver2.php on line 45
SD86.zip
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 232
Reputation: Rhyan is an unknown quantity at this point 
Solved Threads: 24
Rhyan's Avatar
Rhyan Rhyan is offline Offline
Posting Whiz in Training

Re: quick question need quick answer

 
0
  #2
Nov 27th, 2008
FTP_PUT () overrites files without warning. I have no idea about ftp_fput(), but I suppose it will overwrite as well, that is - it will replace content.

Why don't you try with a simple txt file on your own.
" Of all the things I've lost,
I miss my mind the most...."
Mark Twain
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 17
Reputation: asifkamalzahid is an unknown quantity at this point 
Solved Threads: 0
asifkamalzahid asifkamalzahid is offline Offline
Newbie Poster

Re: quick question need quick answer

 
0
  #3
Dec 1st, 2008
thanks
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC