save files locally and remotely - ftp

I searched for an answer but my files don't seem to save locally and remotely. I imported a project from my pc (local) and I set up an ftp connection (remotely) to my site. I was able to download and upload files to the server but they did not save locally? I did select sync in both directories.
Basically what I'd like to do is develop WordPress sites both locally (using XAMP) and remotely - uploading saved files. Is this possible?

There is a functionality within editors to save files locally as well as on remote location through ftp. What about your editor?

Related

How to download full file from FTP using talend openstudio

I am currently using talend open studio to download files from ftp to local machine. This is a scheduled task. Some times I am not able to download full files from FTP since at the same time files are being uploading to ftp.
Is there any way to check file fully uploaded to FTP and download using talend ?
In similar situation we check last modified time before downloading, let say donwload only 5mn old files. This can be done using tFTPFileProperties.

VS2010 - Zip and upload to FTP

Is it possible to have Visual Studio Zip up certain files and upload them to a ftp server whenever I have a successful build? What would be the best way to go about doing it?
Of course you can. Set up a post build script to copy the various files to your FTP server. That depends on your network configuration (may be a simple copy if it is a shared drive).
Alternatively use Jenkins and have an autobuild.

Work online with textmate save files to server AND local to save them in SVN

I work directly on a remote (S)FTP Server some times. I use textmate as editor and Transmit 4 as FTP-Client.
My Problem is, I will work live on the server and if I save files to the server I will a local copy in a special folder to save the changes to SVN.
As long as I worked with Windows, I used Notepad++ with the FTP Plugin and could say "Save local and remote".
Has any body a idear how I can do it with mac, textate and transmit?
Assuming your are doing web development, revert the process:
make a local copy of what is on your remote server
edit locally with your preferred editor
test locally
publish your changes to the remote server either with FTP (meh) or SVN (better)

Notepad++ with Local and FTP synchronizer. [?]

Does the Notepad++ have Local and FTP synchronizer by any plugin?? because I develop websites using PHP and notepad++ has all the features I like and its really lightweight but I had to switch to Netbeans because I use a web hosting but I always like to save the code in my computer too. and netbeans can do that, even anything you insert locally in the folder it automatically adds the folder and the files in the FTP server which is great. but if the notepad++ has the feature to at least update the files that we are saving in notepad++ in both local and ftp server I would be so glad, I search that for a long time, but I can't use netbeans anymore I lose way too much time, netbeans is really heavy!
Thanks!
NppFTP: a plugin that allows FTP,
FTPS, FTPES and SFTP communications.
Very useful for web development.
Author: harrybharry
Homepage: http://sourceforge.net/projects/nppftp/
Install it from Plugin Manager
These are NppFTP plugin panel and toolbar button
Open profile settings dialog
Then configure profiles
Just wanted to post this here for anybody looking for the same solution I was looking for... (and I think helps answer this question more thoroughly).
I keep an exact replica of my public_html directory on my local machine. I wanted to be able to double click a file on the remote server and live edit so that I had a mirrored copy on my local machine. Note: if you are looking for functionality similar to Dreamweaver's site manager... there is a feature request for that. This solution only allows your local files to get updated when you edit a remote file.
So here goes the basic connection settings (pretty standard):
h: some.ftphost.com
u: some_ftp_user
p: a_very_secure_password
d: /public_html
Then, here is where the magic comes in. Under the "cache" tab for the ftp profile, add the following:
Local path: E:\Path\to\your\local\server\public_html
External path: /public_html
The external path should be the same as the "initial directory" in your connection settings. Hope this makes sense. Please ask questions if you have any.
Then what you need is rather FTP_synchronize
double-clicking file will open it for
editing and saving file (in usual way)
will update it on server .
I actually prefer the way that Notepad++ works with FTP compared to Netbeans. Notepad++ always treats the remote file as the master copy. So when you open it, it first downloads it and stores it in the local cache. Netbeans however always opens the local copy first - you have to explicitly synchronise with the external server to pull down the files from the server. If you're working with other developers - its much better to use the server copy so that you pull down any changes by other developers.
If you want the synchronisation try these steps:
In Notepad++ | NppFTP | Global Settings | Set the Global cache to be C:\inetpub\wwwroot\%USERNAME%#%HOSTNAME% which works for IIS or change the directory to your webserver root directory
You will have to make sure Notepad++ has permissions to create directories in your server root
Download one file from the server using NppFTP so that you can see what the directory struction looks like you can probably put just %HOSTNAME% e.g. C:\inetpub\wwwroot\domain.com
Then use Filezilla to download all the files into that directory - you can also use Filezilla to check for synchronisation changes.
Then use NppFTP which will download the files into that structure.
You should then be able to access the files through localhost/domain.com
If you're the only one working on the project that should then be enough, but if there are others, or if you make changes elsewhere you can use Filezilla to check the file timestamps to synchronise.
The default install for Notepad++ has a Plugin called NppFTP on the Plugins menu. I don't know how feature-full it is, however.
Get NppFTP
Connect to ftp.xxxx.com
Double click file to open
Edit changes
Save with automatic upload

Publish ClickOnce app to local machine and then upload?

I'm publishing my app with ClickOnce to a web server, with the install from a web page option. But I usually have to try it like 5 times before it works because I'm using a not very good server, and it is a lot of files that are being uploaded. Also maybe since there is no bandwidth limit on the server that's the way they say "hey, easy with the bandwidth". Whatever.
But now I've been trying to publish for like 2 days already and I always get an error, always something with the server. So is it possible to publish to my own PC as if it were a server and then upload my files manually, without having to manually create a manifest and stuff like that?
Yes. Set the publishing file location to a local directory, like C:\MyApp. Then set the installation URL to the URL the users will use to access it on the webserver. Publish it.
It will publish the files to the local folder.
Copy or FTP the new versioned folder up to the server first. This is under "Application Files", and will be something like yourappname_1_2_3_4 where 1.2.3.4 is the version number (for example).
Next, copy setup.exe, publish.htm (if you're using it), and yourappname.application to the root of your deployment folders on the server, overwriting the ones that are already there.
The version the user runs is determined by that deployment manifest (.application file) in the root of the deployment folder, so the versioned folder will not be accessed until you put the new deployment manifest in place. That's why you want to do the versioned folder first. Obviously if you put in the new deployment manifest and the folder it wants to use is not there, you'll have a problem.

Resources