how to upload to sftp phpstorm (mac) - phpstorm

So i've gone to Preferences->Deployment->Add->SFTP. I specified all the of the information correctly and testing the connection worked fine. I can see all of the files on the sftp in the remote server browser. However, when I click on a local file and try Upload To... I can only see the old mounted server connection (migrating servers). How can I set up my SFTP connection so I can easily upload the files.

You'll need to mark the Remote Server as "Default", and you'll want to make sure you have the Project Dir to Remote Dir mappings set up correctly.
See: http://www.jetbrains.com/phpstorm/webhelp/deployment.html

Related

What is the point of in-place server configuration in PhpStorm when server files are both local and remote at the same time?

What is the point of in-place server configuration in PhpStorm, when as defined in the docs in in-place server configuration:
The web server is running on your computer, your project is under its document root (for example, in the /htdocs folder), and you do your development directly on the server.
So, what is the point of making a server connection when I'm directly editing/using the files from my server, and they are both local and remote at the same time?
Also, I've set up everything according to the docs for in-place server, and I can't find any server when I open remote hosts window.
With this server connection setup, you can tell the IDE to preview your files on your in-place web server instead of the IDE built-in webserver (http://localhost:63342) when you click the browser icon on the browsers bar

Remote InDesign server entrance to my local folders

I have used InDesign server locally and in properties, it goes like
indesign.instance=http://localhost:20055and works fine.
Now I try to use instances running on a remote server and in properties it goes as follows:
indesign.instances=http://##.#.#.11:7700,http://##.#.#.11:7701,http://##.#.#.11:7702
and my app connects to the server where InDesign server instances are running. When I execute my script it fails with an error that the file does not exist or cannot find a directory. I understand that instance does not know anything about my file system. But I know for sure it can be connected.
Could you please advise me on the correct approach?
You could share the file system you are working on over a shared folder. Then your Client will place a file into the shared file system and the server can find it.
Or, if it is a remote server without any direct network access, build a document service to upload a file to the server over HTTP.

PhpStorm configure to work remotely

Hi is there a way for PhpStorm to work directly on a remote server? No local files. Because as of the moment PhpStorm has local files wherein it just automatically uploads all files during save on remote.
My problem is if someone changes something remotely I need to manually download it first before seeing the changes.
It's not possible to fully operate on a remote server. Phpstorm need a local project, which contain the .idea folder. You can edit remote files without downloading them to the project folder. But in this case the entire list of features is not available.
For you can be useful the following settings:
tools->Deployment->Options:
warn when uploading over newer file
Notify about remote changes

PhpStorm - working on a remote server

I have never used PhpStorm before for remote development because I used to work locally.
I am wondering if there is a method to set PhpStorm to work in such a way so it will be identical, in terms of functionality, to local development?
At least, debugging and jumping to functions/variables declaration across the whole project?
Tried to google it but found nothing. Maybe someone knows?
There are two ways to work with remote server development :
With a physically server
With a Virtual Machine locally
Those 2 ways are identical workflow parameters for working with this.
In PHPStorm the main area for parameters workflow deployement on remote server is : PHPStorm > Settings > Build, Execution, Deployement > Deployement
In this area you config the connection on your remote server (you before must config access on your remote server). SFTP is the best way to use this connection.
Most important to select where you want to send/push your modified code with Root path. Upload manually or use the sync auto functionality of PHPStorm use this parameter.
Mappings tabs is not very important you can keep this without change except for 'Deployement path on server' which just type '/' character if you have selected the good 'Root Path' in tab before.
For starting you can forget the Excluded Paths tab. after if you work on symfony framework you use this to exclude the vendor directory.
Don't forget to set the options 'use as Default' if you want to upload or sync auto more fastly and friendly.
Now you must parameters and config correctly your remote server for server be able to run the code which send it with PHPStorm. Dependly on your framework or other technologies you use.
Finally you have :
PHPStorm config OK for send correctly your modification code (auto or manually)
remote server config OK for executing and running correctly the code you are before sending from PHPStorm to your server remote
WARNING : you never run your website into your local OS.
IMPORTANT : config a web server on your remote server and don't forget to install layer for PHP executing script.

communication between flex AS3 and asterisk server?

I'm trying to upload a file using Flex to an Ubuntu server running asterisk. The server-side upload code looks correct; when I test it locally it successfully uploads the file to the server.
When I deploy the solution to our main server it doesn't upload the file. Debug mode shows an error: crossdomain.xml could not be found.
I have a crossdomain file, but I don't know where to put it. The main server is at 192.168.1.143, and the Ubuntu server is at 192.168.1.137.
After some reading I found it should be accessed from 192.168.1.137:8088/crossdomain.xml.
Where do I need to put the crossdomain.xml file on the Ubuntu server?
The crossdomain.xml file will be search on your webserver main page, which is on port 80 of the server you're trying to connect.
If you're using Apache, lighttpd, or others, and don't use a VirtualHost, chances are your must put your file at /var/www/crossdomain.xml.
You must be able to access it using http://192.168.1.137/crossdomain.xml, without any port indication.