Answer the question
In order to leave comments, you need to log in
How to make Windows synchronization - Hosting via FTP?
The working machine is Windows7 where I edit files. I need to send these files to shared hosting via FTP.
What are the ways to do this and how to do it?
If you know, please describe in detail.
Answer the question
In order to leave comments, you need to log in
Deploy in Phpstorm, Filezilla
These are the ones I use, I prefer Phpstorm Deploy as I develop in it.
WinSCP can conveniently open a remote file in an external editor (you can configure different editors), and send it back to the server when saving. Total commander, starting from some version, seems to be able to do this too.
NetBeans - download the necessary files for editing, edit and it will synchronize them
Cmd won't work? We write a batch file in which we copy files from the local machine to a remote FTP, then this batch file is added to the schedule and you're done.
Batch file ftp.txt
, approximately the following content
open 10.10.10.10
login //логин
pass //пароль
binary
put D:\web\site\*.* /www/
bye
Utilities for working with ftp can be found here.
www.ncftp.com/ncftp
Specifically take the utility
NcFTPPut - command-line utility program
It does not require installation and works from the command line.
The batch file looks like this:
@echo off
ncftpput.exe -u %ftpuser% -p %ftppass% %ftpaddr% %1 %2 >> %3
set result=%ERRORLEVEL%
if %result% == 0 (
@echo ftpput reported ok >> %3
) else (
@echo ftpput reported error = %result% >> %3
)
exit /b
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question