PhpStorm Remote FTP "no files found" - ftp

I am new to PhpStorm and try to connect the project to my existing folders and files on my FTP server. I configured the deployment settings first in the settings menu and for testing via "create project from existing files" in another project. Both ways, I can connect to my FTP server and can browse through the server folders.
But not all of the files are shown in PhpStorm. E.g. I can find the file index.php but not 2.bs-test.template.php in the developer folder (which exists on FileZilla but not for PhpStorm). Therefore, some folders are completely "empty" for PhpStorm and I cannot download and edit these files...
When I try to download the error "No files or folders found to process" occurs.
Does anyone know how to fix this problem?

Solution: In my case, some folders had suffixes like .../foldername [2]/....
PhpStorm is not able to read files in these folders with special suffixes like [2]. After I removed the suffixes the files appeared - without any changes in remote settings.

Related

"Real remote" FTP project with PhpStorm

Presently I'm using phpDesigner 8. I like, it can create a "real remote" FTP project, phpDesigner not downloading all project files to local, it shows me the remote tree, and I download only the file, that I'd like to edit. When I save, the file automatically uploaded with FTP.
I'd like to do this with PhpStorm. I tried "New Project from Existing Files", then "Web server is on remote host, files are accessible via FTP/SFTP/FTPS". I turn on Tools/Deployment/Automatic Upload (always), and PhpStorm immediately uploads the saved files via FTP. This good. But I don't need a local copy any of the remote files. I need to download the remote files only to editor, not to locally, and saves to remote.
Is there any way to do this?
Is there any way to do this?
Well ... you cannot create 100% Remote FTP project -- because you still have to create actual project ... which has to be local. It can be completely empty (no actual project files) but it will still contain config files in .idea subfolder (e.g. your FTP details).
But yes -- once such empty project created -- just go to Settings/Preferences and configure Deployment.
Once it's properly set up -- go browse Remote Host and choose to edit file remotely -- IDE will download that file in temp location and upload it back as needed -- https://blog.jetbrains.com/phpstorm/2015/04/remote-edit-in-phpstorm-9-eap/.
NOTE: missing stuff when editing remotely -- https://stackoverflow.com/a/36850634/783119

Why do I not have a .hgrc file?

I'm trying to insert the mercurial_keyring file with my username and password in the .hgrc file but it doesn't exist in my user directory on windows. I have tortoise hg installed and even checked if it was installed properly on the command prompt yet I still don't have the .hgrc folder.
Can anyone tell me what might be the reason to it?
Thanks
Because it's %USERPROFILE%\mercurial.ini
Mercurial reads configuration data from several files, if they exist.
These files do not exist by default and you will have to create the
appropriate configuration files yourself:
Local configuration is put into the per-repository /.hg/hgrc
file.
Global configuration like the username setting is typically put into:
%USERPROFILE%\mercurial.ini (on Windows)
The .hgrc files are not created automatically when you install Mercurial or TortoiseHg.
You will need to manually create it at the location you need whether that is within the repository's .hg folder or your own C:\Users\username\ folder.
You will probably need to use the command line to create the file as it's not usually possible to create filenames that start with . in Windows Explorer.
https://www.selenic.com/mercurial/hgrc.5.html

TFS Build Error Path already mapped to another workspace Occuring even after deleting cache file

Firstly I read through many existing threads and followed the instructions there
Here
Here
Here
Here
Here
Here
Almost all the above threads asked me to delete the cache file. I went into the machine and deleted the cache file. I even edited the cache file (XML file named version config) but still it gets overwritten
But still even after that I am seeing the same issue.
The build agent has got dynamic $SourceDir as value
What else can I do to fix this? Please Help.
I tried doing tf workspaces but it simply keeps saying that "Unable to determine the source control server"
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets (838): Unable to create the workspace 'NVM1756PDV_105_7' due to a mapping conflict. You may need to manually delete an old workspace. You can get a list of workspaces on a computer with the command 'tf workspaces /computer:%COMPUTERNAME%'.
Details: The path C:\Builds\7\Common_Security\cloud\src is already mapped in workspace NVM1756PDV_104_7.
Run the tf workspace /delete NVM1756PDV_104_7 command to correct this error.
Try using TFS Sidekicks to delete the workspace using the Workspace Sidekick.

FTP With FileZilla, WAMP, and CodeIgniter

Ok, so I need to download files from my server since they are files that users upload. The reason I am using FTP with WAMP is just so I can test my script on my computer. Once I get it working, I can change the config files once the app is uploaded to a web server. I am using FileZilla.
MY application installation folder:
W:\wamp\www\idealeffort
The above directory is also set as my FileZilla user's home directory. There is a folder in my application called "_resumes". These are the files that I will need to download. So here is the script that I use to download these files.
$this->load->library('ftp');
$this->ftp->connect();
$this->ftp->download('/_resumes/'.$app['resume_filename'], FCPATH.'_resumes/'.$app['resume_filename']);
$app['resume_filename'] is a database result. I have checked to make sure that the file exists. I get the error "Unable to download the specified file. Please check your path."
Any ideas?
Note: FCPATH displays as "W:\wamp\www\idealeffort\ "
If you check codeigniter help
you have to give path from /public_html/....
So i think its problem with path.
Hope this helps

Can't copy executable files from network share to local disk

In my setup there is a win7 in a virtuialbox on a linux host. I like to use a "shared folder" with the host which is seen as "network location" in win7. Unfortunately I'm not able to execute some files from the shared folder (I want to put installer files there and install them in a lot of snapshots of my virtual machine). It's also not possible to copy the files to win7's local hard drive.
Error message for copying is:
An unexpected error is keeping you from copying the file...
Error 0x80070057: The parameter is incorrect.
Error message when trying to execute directly:
The specified path does not exist. (I'm sure it exists because I just double-clicked the file.)
I assume this is some kind of "security" setting but I could not find out how to disable this.

Resources