NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Publish files to local xampp htdocs


Joined: 15 Dec 2008
Posts: 2
Reply with quote
hi ! i'm realy new to nuSphere but not new to php.I've Extensively used Dreamweaver , eclipse PDT.I've read about how to set a project with accounts and stuffs.but what is bothering me is that everyone suppose that files are already in the remote location which is not actually the case every time.for example i develop on local with xampp and i publish using ftp clients.here the ftp client is in the ide ok.
I'm using phpEd 5.2 with xampp 1.6.8 sitting on windows xp sp2 on the drive c ie C:\xampp.How do i copy files from root directory to remote root?
i create ftp account on xampp filezilla server and tested with cuteFTP and filezilla clients and it can connect.
i copy the libmysql.dll into my mysql/bin then i can see my databases through the ide ok.
i thought that the created files would have been copied into the root directory when i save or run but no at all.i have error code 400 not found because it's not copied
then i tried to publish manually using the ide upload files and having errors :Failed to create folder "/C:/" internal error creating directoty.failed to create directory ([ftp:mylocalftp] /C:/)

here is my proprieties
project : C:\Documents and Settings\Jojo\Application Data\NuSphere\PhpED\projects\remoteproj.ppj
root dir : D:\joseph\webProjects\mytest
top publishing dir : C:\xampp\htdocs\
run mode : http mode (3rd parti web server)
root url : http://localhost/mytest
remote root dir : C:\xampp\htdocs\mytest


can anyone tell me what's i'm doing wrong? and how to meke things work here
View user's profileFind all posts by highjoSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
top publishing dir : C:\xampp\htdocs\

this is definitely wrong setting.
Ftp protocol does not support Windows-alike directories.
It should be something like /pub/mydirectory/, e.g. unix-style slashes and without any drives.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 15 Dec 2008
Posts: 2
Reply with quote
Hello! got your explanation.thanks!

my proprieties are now
project : C:\Documents and Settings\Jojo\Application Data\NuSphere\PhpED\projects\remoteproj.ppj
root dir : D:\joseph\webProjects\mytest
top publishing dir : /xampp/htdocs/
run mode : http mode (3rd parti web server)
root url : http://localhost/mytest
remote root dir : /xampp/htdocs/mytest

and the ftp account settings are

Hostname : localhost
port : 21
root dir : /xampp/htdocs/mytest
passive mode
use cache
login name: myown
Password :xxxxx
save password

in the root dir for the ftp account is the own i added from xampp filezilla server.
i'm having now this error "root directory : /xampp/htdocs/mytest" does not exits.Check account settings for ftp.

I have a question.should i use ftp in localhost environment?How do you guys develop in such environment?Isn't there any features for simple copy to local web server?thanks Dmitri
View user's profileFind all posts by highjoSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
I have a question.should i use ftp in localhost environment?


no

Quote:
How do you guys develop in such environment?


in most cases project root directory matches web's Document Rott (htdocs)
or some of its subdirectories if you have many projects on the same web.
I'd recommend you to start with Project->Project Properties->Settings Wizard

Quote:
Isn't there any features for simple copy to local web server?


work with files in their places and you won't need any copying.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Publish files to local xampp htdocs
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic