Notepad++ upload to FTP and keep file - web

So I have a domain and a directory on my computer that can be accessed with my ipadress as link and I want so when I click save it uploads the updated version to the FTP AND updates the file on my computer so both my domain website and my ipadress website will be updated with the new changes, is that possible?
I'm sorry if it is hard to understand the text, kinda hard to explain to...

Use Win-scp.
Install it, then either:
Open the file directly from the server and when you save the file will be uploaded
click on Keep remote directory up to date and once you save for file locally, winscp will upload it for you.
To work with Notepad++ with winscp you need to configure winscp to use notepad++.

Related

Open and edit code file from remote server in my preferred editor?

I am having a lot of trouble solving a SFTP problem...
I would like to be able to open and edit text files in my preferred editor such that I can execute a command on my remote server and it will open the file in Visual Studio Code. Once that file is opened in VS code, I would like to be able to edit it and, when I save, it will save the changes to the same location on the server.
I know something like this is possible because I have used WinSCP where I can double click a text file from the server through the UI and it will open it in whichever editor I choose. When I save changes, it will update those changes on the server. I really want to know what WinSCP is doing behind the scenes when I do that.
Any help would be appreciated. Thanks!
WinSCP is running on your local machine, so it can open a local editor. So, it's not comparable.
You cannot execute local a application from a remote server.

Need help in developing a custom WebDav client using node.js

I am developing an open source application which should mount webdav share to local drive letter just like NETDRIVE and WEBDRIVE using node.js and electron-js, so in my application at present I am downloading all files from webdav share which takes a lot of time and not reliable for heavy data. Is there any other approach so that whenever user access a file, only that particular file should be fetched from webdav share, I’ve tried to display files meta data(dummy) structure in directory and kept that directory under file-watcher. So that when user tries to open a file then watcher should capture file open event to get which file was user trying to access, so that in background of application a service will triggered to fetch that particular file using file-path as reference, but none of them are unable to capture file open event. Is there any other approach to do so, correct me if I am in wrong direction.
Thank's
I think you want virtual file-system and recommend Dokan library.
Dokan is the start point of Windows virtual file-system application.
Open Source : Dokan (https://en.wikipedia.org/wiki/Dokan_Library)
Commercial: EldoS CBFS (https://www.eldos.com/cbfs)
Google, Naver use Dokan and NetDrive, RaiDrive(mine) use CBFS.

Possible to set local folder for automatic file uploads

Bit of a loose question so if it gets marked down I'll remove it.. but..
I'm using Primefaces/Spring/Hibernate for Java server.
My application knows a load of file names I need to upload. Those files are on my local computer. Is it possible to tell the application the root directory of these files, for it to then setup uploads for each of these files without me needing to browse for each file individually?
I assume this is a browser security issue, i.e. the user needs to explicitly state which file the application is allowed to know about etc?
If not I'll have to do it in a local application but I was hoping there was a way a mass upload could be kicked off from the browser by just setting the local directory of the files.
I decided to use the Primefaces uploader, upload all the files in the directory and let the application sort them out once it has them on the server.

IIS7 File already in use

Recently I've installed IIS7, but when I try to edit ANY file inside my wwwroot and save it it keeps giving me an error 'can't save file, file is already in use'. Even if I make a new .txt file and try to save it I get the same error. It's really getting annoying.
Been trying alot but I really can't figure out.
Stop your website in IIS Manager if you want to edit the files.
A better approach in the long run is to use FTP to edit your files rather than working directly on your web server.

how to upload,download, or delete a directory or multiple files in FTP server using CFNetwork?

i have starting learning about FTP Programming, i learn some from simpleFTPSample that using CFNetwork. From this sample i understand how to upload and download a file from ftp server, and also i understand how to get a list file and directory from FTP server. But the problem is, i want to upload, download, and delete a directory or multiple files in FTP server, but i dont know how to do. Can somebody give an example? Can i do it using CFNetwork? Or am i have to add another library for doing this?
Thank you
i think it will help u
http://code.google.com/p/s7ftprequest/
or
http://www.ftponthego.com/
you could use cURL if you have little success with the apple sample code, see here.
http://www.intelliproject.net/articles/showArticle/index/use_curl_iphone_sdk

Resources