|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
File exists stops ftp upload
Hi,
This has been driving me nuts. Spent a couple of hours on this, can't seem to figure it out. Maybe a fresh pair of eyes will help Anyway, I am amending an mulitple file upload script that I have been using previously. What I am trying to do is to give messages after each file that I upload, eg:
Here is a snip of my code. I hope someone can figure out what is probably a really elementary mistake. Thanks in advance.. PHP Code:
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#2
|
|||
|
|||
|
I can't find the problem. Could perhaps the line:
$res_code .= @ftp_put(... cause it, because of the concantenation .=? Which might cause $res_code to do something. I'm not sure what happens if you concantenate two booleans.
__________________
K1 |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > File exists stops ftp upload |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|