NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

hwo to grab a site from a remote server?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
dikkedimi



Joined: 14 Feb 2017
Posts: 1

PostPosted: Tue Feb 14, 2017 2:47 pm    Post subject: Reply with quote

I'm having the same issue.
Create a new project from remote site
in step 3, I define the parameters for connecting to the server.
click test connection, netbeans confirms it connected.
enter correct path for the project on the server, etc.
want to finalize setup and netbeans says "No files available for download".

- The FTP server runs on a mac mini, macos sierra 12.10.3
- The client (netbeans) runs on a macbook air with macos sierra 12.10.3
- There is no firewall running on the server or the client.
- Downloading and uploading works using Filezilla.

The computers are both on the same local network. The config is the same when I dial in through VPN, so result should be the same. I'm currently trying to figure out the problem at home, so far i've tried:
- enabling passive mode in netbeans
- adding a trailing slash to the project folder on the remote server
- I've compared my filezilla settings to my netbeans ftp settings, they are identical.

so far I haven't been able to get ftpd to write any useful info to the log, even though I followed these instructions: https://discussions.apple.com/thread/7318812?start=0&tstart=0
Back to top
paolosca



Joined: 09 Sep 2010
Posts: 515

PostPosted: Wed Feb 15, 2017 8:48 am    Post subject: hwo to grab a site from a remote server? Reply with quote

Hello,

You may want to check the "Initial directory" parameter in the remote connection settings. If it's set to the user's home directory (/home/username/), Netbeans may attempt to download files from /home/username/path/to/website/ instead of /path/to/website/. The easiest way is to set it to / so the project upload path corresponds to the actual path on the server, if you your user doesn't have access to the server root you may set it to /var/www (or whatever your webserver websites path is) and change the upload directory accordingly.


In example your website is in /var/www/website/, if your user is allowed to access / then set the connection initial directory to / and the project upload directory to /var/www/website/, if your user in not allowed access to / then set the connection initial directory to /var/www/ and the project upload directory to website/ 


Regards,


Paolo


On Tue, Feb 14, 2017 at 10:47 PM, dikkedimi <address-removed ([email]address-removed[/email])> wrote:
Quote:
I'm having the same issue.
Create a new project from remote site
in step 3, I define the parameters for connecting to the server.
click test connection, netbeans confirms it connected.
enter correct path for the project on the server, etc.
want to finalize setup and netbeans says  "No files available for download".

- The FTP server runs on a mac mini, macos sierra 12.10.3
- The client (netbeans) runs on a macbook air with macos sierra 12.10.3
- There is no firewall running on the server or the client.
- Downloading and uploading works using Filezilla.

The computers are both on the same local network. The config is the same when I dial in through VPN, so result should be the same. I'm currently trying to figure out the problem at home, so far i've tried:
- enabling passive mode in netbeans
- adding a trailing slash to the project folder on the remote server
- I've compared my filezilla settings to my netbeans ftp settings, they are identical.

so far I haven't been able to get ftpd to write any useful info to the log, even though I followed these instructions: https://discussions.apple.com/thread/7318812?start=0&tstart=0




Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo