Vscode Ftp-sync Says Upload Success but File Not There

FTP-Sync extension for VS Code

This extension allows you to easily synchronise your local workspace (project files) with an FTP server. It as well has several advanced features such every bit automatic upload on salve.

Demo of extension

Usage

In that location are four commands available. You can access them from the command palette (Ctrl+Shift+P on Windows/Linux).

You tin likewise sync a single file by right-clicking on information technology in the left menu and using the "Ftp-sync: Upload File" and "Ftp-sync: Download File" commands.

Ftp-sync: Init

Initializes a default FTP-Sync configuration file in the .vscode directory. Options tin can exist customised as follows:

  • remotePath - This tin be set to the path on the remote that you would like to upload to. The default is ./ i.e. the root.
  • host - The hostname of the FTP server you desire to connect to.
  • username - The username of the FTP business relationship you want to use.
  • password - The countersign of the FTP account y'all want to use.
  • port - The port on the FTP server you would like to connect to. The default is "21".
  • protocol - The FTP protocol to be used. The default is "ftp" but you can also specify "sftp".
  • uploadOnSave - Whether files should automatically be uploaded on salve. The default is imitation.
  • passive - Specifies whether to employ FTP passive way. The default is false.
  • debug - Specifies whether to display debug information in an ftp-sync Output window. The default is imitation.
  • privateKeyPath - Specifies the path to the individual key for SFTP. The default is zippo.
  • passphrase - Specifies the passphrase to use with the private cardinal for SFTP. The default is null.
  • amanuensis - Specifies the ssh-amanuensis to use for SFTP. The default is zippo.
  • allow - An assortment of escaped regular expression strings specifying paths which are allowed. If nonempty, unless a path matches any of these regular expressions it will not be included in the sync. Default value is empty, implying everything is allowed.
  • ignore - An array of escaped regular expression strings specifying paths to ignore. If a path matches any of these regular expressions then it volition not be included in the sync. Default values are "\\.git", "\\.vscode" and ".DS_Store".
  • generatedFiles: - Automatically upload freshly generated files. Also uploads files that are deleted. extensionsToInclude has to be set for this feature to piece of work.
    • extensionsToInclude: [""] eastward.thou. [".js", ".css"] - Array of strings specifying what extensions to add for auto-upload. Default is "" which means that it volition automatically upload files of all extensions. An empty array here means that generatedFiles characteristic is disabled.
    • path: "" - This specifies the path to the directory where the files are, [e.1000.] "/build", default is "" which is the root workspace directory

Ftp-sync: Sync Local to Remote

Displays a synchronization magician to configure a sync operation that changes FTP files and folders to match projection files.

Ftp-sync: Sync Remote to Local

Displays a synchronization wizard to configure a sync functioning that changes projection files and folders to match FTP files.

Ftp-sync: Commit

Commits reviewed list of changes made with Sync Local to Remote or Sync Remote to Local command.


To be added presently:

  • Config validation (add minimal configuration requirement)
  • Better connection error handling
  • More than real life testing
  • Bug fixes
  • Context menu to sync folders (up/down)

Hereafter plans

  • Integration with git-ftp

Found whatsoever bugs? Got whatsoever questions or ideas?

  • Rise a ticket here!
  • Contact me at vscode[at]lukaszwronski.pl

Please provide every bit much information as possible. Nosotros are dealing with diffrent ftp servers, file structures, file permissions, operating systems and it might be difficult to reproduce your error and set up it without detailed informations.

I'm looking forward to get any feedback from extension users! Contribution, especially on problems fixing is more than welcome!

Great thank you for suggestions and help with debugging for Martin, Allan, Maxime, suuuunto and all other folks who reported bugs or fabricated comeback requests.


Use at your own chance - I do non guarantee that it will work correctly!


Version history

  • 0.three.9
    • Added Fix for autogenerated files non uploading correctly
  • 0.3.viii
    • Added Updated generatedFiles. Both of its backdrop are required to be set from at present on. uploadOnSave works on every file at present
  • 0.3.vii
    • Added Fix for cleaved uploadOnSave and subdirectories not adding properly
  • 0.3.5
    • Added Various enhancements (SCP Support, bug fixes, list control)
    • Added Listing commands
    • Added Ready for cleaved ignore and allow regex
    • Introduced separate store to shop syncOption
    • Added Prompt for password if no password was given in config
    • Added Set for config secureOptions being ignored
    • Implemented allow config
    • Added Ready for incorrect path for ignore of remote sync
    • Added Ability to download a single file using the context menu
    • Added Rudimentary ssh-agent back up
  • 0.3.iii
    • Added Support for generated files
  • 0.3.two
    • Added FTP over SSL support
    • Added Sync current file to Remote
    • Fixed bug #86 (past PR #84)
    • Improved readme and stock-still debug manner
    • Compatibility for vscode one.v+
    • Improve Error handling effectually parsing config file
  • 0.3.1
    • Added SFTP private central support
  • 0.3.0
    • Added SFTP protocol support
    • Comeback of sync operation in environments with many nested directories
    • Fix for bug with upload on relieve on unsynced directories
  • 0.2.9
    • Ready for Running the contributed command:'extension.ftpsyncinit' failed
    • Fix for After some tryes the Review file stopped to work
    • Added debug output option to config file
    • Error message for incorrect JSON like in this result
    • Closing review file afterward commit (pointed out in this issue)
    • Fix for uploadOnSave volition fail for files on new created folders
    • Added ES6 back up in extension source
  • 0.two.8
    • Attempt to prepare uploadOnSave will fail for files on new created folders
  • 0.2.vii
    • Fix for Sync R2L does non delete binder
    • Supplant of deprecated method TextEditor.hide with command phone call
  • 0.two.6
    • Set up for Mistake: EXDEV: cross-device link not permitted on mounted drive
  • 0.two.5
    • Prepare for Local to remote "Full sync" mistake
  • 0.ii.iv
    • Ready for Duplicate folder in folder nosotros upload to
  • 0.2.3
    • Fix for Cant download
  • 0.2.ii
    • Fix for Upload on save don't runway ignored files
    • Added support for ftp passive mode
  • 0.two.i - Set up for Save on second attempt
  • 0.ii.0 - Rewritten sync machinery - Changes based on this conversation: - New sync wizard - Reviewing changes before save - Cull to remove orphans or not (condom sync) - Fix for uncontrolled number of ftp connections
  • 0.i.four - Set for No handler plant for the control: 'extension.ftpsyncdownload'
  • 0.one.2 - Bones progress indication in sync process - Improve error handling in sync command - Github links in bundle.json
  • 0.1.1 - All information messages moved to status bar - Removed "alertOnSync" parameter from config - Addedd progress indication in download process - Fixes in download process
  • 0.one.0 - Outset version containing all basic features

lanetrainty.blogspot.com

Source: https://marketplace.visualstudio.com/items?itemName=lukasz-wronski.ftp-sync

0 Response to "Vscode Ftp-sync Says Upload Success but File Not There"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel