it's not the first time filezilla bundled malware. they were one of the voluntary partners of sourceforge's bundled installer before they pushed it on everyone and then got rid of it after they got bought out.
Use WinSCP! It's truly free and open source.
Just so people don't think this is about pushing WinSCP.
On behalf of the webdev community use ANYTHING else. Here is a few options:
The Filezilla guys QC has been kind of dreadful over the last few years. Do yourself a favor and shop around.
Not sure if you have access to his computer, but it might be worth to check if he setup some ssh keys for remote access (ssh (user@)server_ip)...
from windows if he was using winscp, he might have saved the password, if it's the case you can activate logging and "sensitive" data that will store the password in plain: https://winscp.net/eng/docs/faq_password
good luck and sorry for your loss
I have an automated task using WinSCP. Rather than install the app on the server we're running from, I pull in the executable and one DLL file needed for the process (WinSCP.exe and WinSCPNet.dll).
Here are their documents on scripting: https://winscp.net/eng/docs/scripting
Sorry, I'm not near a windows machine. Download and install WinSCP:
https://winscp.net/eng/download.php
The login dialog looks like this:
https://winscp-static-746341.c.cdn77.org/data/media/screenshots/login.png?v=709
File protocol will be SFTP.
Host name will be the address of your server (your domain name if you have one, or else the Public DNS name from the instance which you can read out from the EC2 section of the AWS console).
Hopefully you were told a username to use, if not I would try guessing either "root", "ec2-user" or "ubuntu".
Instead of entering a password, click advanced and go to this page:
https://winscp-static-746341.c.cdn77.org/data/media/screenshots/login_authentication.png?v=709
Select your .ppk file in the "private key file" box and click okay. Now try logging on.
The files on the remote server should appear on the right hand side. Likely places to look to find your files would be /home or /var/www directories.
If you have the Amazon account credentials, it is possible to use those to attach your server's hard drive to another server, and read out its contents, without having to do any further authentication. Though that's much harder so hopefully you won't have to resort to that.
WinSCP has what you need. You can tell it to keep your remote directory up to date and it will watch your local directory for changes and update the remote directory with those changes. You can also specify whether or not it should delete remote files when you delete them locally, which I tend not to do in case I accidentally delete something.
You can get it here - https://winscp.net/ (it's free)
If you want to recover the already added games via FTP it's not complicated:
-Install WinSCP or any other FTP client
-Turn on your SNESC
-Open hakchi2
-Go to Tools and check "FTP server..."
-Go to Tools again and click "Open FTP client", it should ask for what to use for FTP, select WinSCP (or just manually add in your FTP client adress: 127.0.0.1, port: 1021, login: root and password: clover)
-On the left panel (= your PC) go to your \hakchi2\games_snes directory (create it if it doesnt exist), on the right panel (= your SNESC) go to /usr/share/games/
-Ignore the folders CLV-P-XXXXX (original SNES games) and CLV-S-XXXXX (folder settings) and select every other CLV-something (U=SNES, H=NES and G=Genesis), if there's none go to /usr/share/games/001/
-Once selected just right click and click "Download" to transfer the games to your PC
-Do to same for /usr/share/games/002/, /003/, etc.
-Close hakchi2 and open it again, you should now see all the added games now, to check them all easily select the 1st unchecked game, hold shift then select the last unchecked game, now check one box and it should check every other boxes, games are ready to be uploaded again! :)
I use WinSCP quite often when dealing with GUI. It's only for SFTP tho. For FTPS I use FileZilla.
Could you use WinSCP DLL - probably but you would need to spend time automating around it - meaning probably a lot more code than 4 lines of code to upload a file to the SFTP server from PowerShell using Transferetto. It's up to you which one do you prefer - I just create tools and share them :)
Here's winscp code: https://winscp.net/eng/docs/library_powershell
The device doesn't have to know the correct code. When the "key" is created, only a part of it is stored on the device. You put in the passcode to tell the phone how to create the key, but the "part" that's your passcode is not stored on the device itself. When you put the passcode in, it combines it with the part that's stored on the device and forms the actual "key" that unlocks the phone. Each part separately is useless until they are used together.
It's very similar to how SSH keyfile authentication works, you can read a brief overview here.
WinSCP:
https://winscp.net/eng/download.php
Handy dandy. Along with PuTTY, about the most used utility in mixed-OS environments. No machine should be without them.
WinSCP can use the registry or a .INI file to store the configuration. If using shared storage, you can set the .INI file - or portions of the file - to be read only.
WinSCP has a powershell module that's been working great for SFTP etc. I remember I had to put the module files into the Powershell module directory and load from there. It would make all sorts of BS if I tried loading it from a custom folder for instance.
You could enable SSH by "systemctl start sshd" plus "systemctl enable sshd" and you could use WinSCP [1] afterwards to transfer files from Windows to your Linux machine. (SSH does not care if the remote machine is on the internet or on the local net, it just must be reachable on TCP port 22.)
If you really desire privacy on your desktop, consider airgapping the Windows system after you've installed everything you need for it. Setup Linux on laptop that runs stuff that needs networking plus an SSH server you can connect to from the Windows using WinSCP / FileZilla over direct ethernet cable connection -- use USB-to-ethernet adapters if necessary. Professional tools in a private setting that doesn't impede too much on workflow. You can even setup Synergy between the computers to control both computers with one mouse, that way you have "second screen" with offline Windows. It takes a bit of effort but is worth it.
I'm a big fan of Namecheap, personally. For both the domain and hosting. Inexpensive and great quality service.
First up, you need to order hosting.. but you need to make sure the hosting supports what you need. For example, if your friend wrote his website in ASP.NET, he's going to need to find a host that offers .NET hosting.
Once he orders hosting, he's going to need to get the DNS addresses from his hosting provider. These are often sent in one of the welcome emails when you purchase hosting. If not, search their website or google "hostingCompanyName DNS servers". You'll get a list 2-4 servers, like ns1.hostingCompanyName.com
, ns2.hostingCompanyName.com
, etc.
Log into your account where you purchased your domain, find the section to manage your domain, and plug in all of the nameserver addresses from your host. This process can take a while because of something called DNS propagation. Usually it's fairly fast these days.. within an hour or two.. but it can take a couple days. This is the process that formally connects your domain to your hosting account.
Next, he just needs to upload his code. Usually via FTP. His hosting provider should also give him an FTP address to log into. He will need to install an FTP client on his computer, I recommend WinSCP (free/open source): https://winscp.net/eng/docs/screenshots
Log into FTP server, transfer the files, and when you refresh the browser on YourDomain.com, the new website should appear. There are alternative ways to upload .. but FTP is pretty typical for a simple site.
The hosting provider will likely also give him access to a system that will allow him to tinker with more technical settings on the site.. the most common is cPanel, which looks something like this: http://i.imgur.com/DQEiXZD.jpg
You might want to consider loading the WinSCP .NET Assembly straight into PowerShell. Then you can do everything inside of your script giving you better control and error handling.
We have gotten it to work with key based authentication, since they are using the standard OpenSSH install for Windows we followed the guide on the WinSCP homepage that references how to setup the authorized_keys file, a specific ACL is required on the file in Windows similar to the strict mode options in Linux
https://winscp.net/eng/docs/guide_windows_openssh_server
Edit: One other note, you can actually use a domain user with a private key, just make sure when entering the username to follow the DOMAIN\user format or the username@UPN format to login.
Have you tried using the the WinSCP assembly directly? In a previous role i utilized this method to do all SFTP/FTPS things. Sadly I don't have access to those scripts anymore so I cannot provide a direct example.
There are a few steps to get cron running under Cygwin.
Have you thought about using Task Scheduler and WinSCP? WinSCP is GPL licensed, and you have far less overhead with just one application than all the files Cygwin takes to work.
Okay. Before I get into this - I'm not trying to be "that guy" - but stop using WYSIWYG editors. Seriously. They do a lot of "magic" which means that ~~if~~ when something goes wrong, they give you some cryptic error message and nobody is any the wiser about what's wrong.
Now back on to your error message...
>I used filezille to strip everything off of my server then I attempted to upload the new site using Expression web and an error popped up stating "Failed to change directory to folder name: /folder name: No such file or directory (550).
Prelude: I would strongly suggest not using FileZilla. Here's why. Go check out WinSCP instead it's what I used to use at work (Software dev by trade).
Now, on to the error message you got - a quick google search suggests that error 550 is from the FTP server (thanks for including the error code btw, that makes it much easier to search:) ). Basically what it's telling you is that you're trying to push stuff to a directory that no longer exists. Since you " used filezille to strip everything off of my server" I would hazard a guess that Expression Web is trying to put your website into ./public_html
which no longer exists. Try recreating that directory on your FTP server and see if that sorts things out.
For those without gold, you could setup a cron job on a Linux server that runs the following (after adding your SSH key to the router)
scp :/cf/conf/config.xml /path/to/folder/"date +%Y-%m-%d-%H:%M:%S
"-router.domain.com-config.xml
I've also adapted the PowerShell example and utilized WinSCP to pull backups from Windows too:
https://winscp.net/eng/docs/script_download_most_recent_file
Then, I backup the directory to NextCloud.
You can actually set this up on any version of Windows, I just did it on my Win 7 box, here is some documentation from WinSCP, which includes a link to the github repo where Microsoft is keeping their code.
https://winscp.net/eng/docs/guide_windows_openssh_server
MS OpenSSH Github repo:
What do you mean by pulling things of your seedbox? I assume you are talking about your torrents, since I think you don't have ssh access with that plan, am I right?
If so, why don't you use an FTP client like FileZilla? It's free, and you can connect to your seedbox using Explicit SSL (Auth TLS), which is secure.
If you do have SSH access, and you want to pull files from other areas of your server that you don't have FTP access to, you can always install WinSCP, and pull them using SFTP. Once again, WinSCP is free.
Regards.
Well for the specific case of WinSCP they clearly talk about it at https://winscp.net/eng/docs/microsoft_store#benefits Technically the difference is the update process which is supposed to be more convenient
I don't think veeam natively supports sftp backup of a remote site.
You can automate the backup to a local folder with winscp, then veeam can back that folder up
If you have FTP access, may use a program like WinSCP to check the permissions of files (0644) and folders (0755) in wp-content/*
and fix those that aren't looking right. Also check for the group/owner to be properly set.
I believe if your source path is a file your destination path must also be a file. That might explain the error.
Edit: But there are great visual SCP UIs for transferring files. For example on windows I'd recommend WinSCP.
I just replaced Solarwinds SFTP server with straight up OpenSSH server for Windows since NSX-T backups refuse to work with the Solarwinds server.
https://winscp.net/eng/docs/guide_windows_openssh_server
This was using the actual OpenSSH package, not the Windows integrated one
I'm using WinSCP with a batch script that's run as a scheduled task.
Essentially this connects to a remote SFTP server, downloads a .tgz in my specified folder and renames it with the date / time once its downloaded, before moving it in to a different folder.
The script is probably pretty basic compared to what some of the wizards on here could create, however its been doing it's job for a couple of years now perfectly fine. I could depersonalise it if you want a copy.
I learned everything required to do this from here: https://winscp.net/eng/docs/scripting
Do you use git or any other VCS? If no, you should do that! Just keep your static folder in your git repository and then there will be no need to upload anything manually.
In your case, you can simply upload static files folder using any SFTP client.
If you are using any Linux distro you can type sftp://user@<server.ip>
in your file manager address bar to connect to the server using GUI. Or use SCP through terminal.
Links
If your pi is networked and the file is not too big, the easiest way would be just to connect to it via something like WinSCP and download it.
If you want Windows to be able to read the file from a SD card, you can create an additional Fat32 or NTFS partition on the card itself. Basically you squeeze your linux system partition a bit (see gparted), and create a new one for your files. Then you mount it on your pi on boot and save the files there (see mount, /etc/fstable).
When you plug in such SD card in a Windows machine, Windows will see and auto-mount the Fat32 (or NTFS) partition.
Firstly, if you want to skip the process using Dropbox, you could install SSH to your iPhone via Cydia and use an FTP client (such as WinSCP) on your computer to directly transfer files wirelessly to/from your device. I believe this doesn't require the AFC tweak.
As for ringtone, the correct format is .m4r specifically. However, I do not think simply renaming .ogg files to .m4r will work, as the two are entirely different audio formats. You will need to convert the .ogg file to a .m4* audio format (I recommend Audacity for this) and then transfer it to your phone.
A note about Audacity: it cannot convert to the .m4r format specifically, but it can convert to .m4a. After a file is converted to .m4a, you can change the extension to .m4r, and it will work in this case, since the two are of the same audio format ('r' indicates ringtone, 'a' indicates a simple audio file).
An important general note: I believe in iOS 8+ Apple decided to force the operating system to read a .plist file for ringtones, as opposed to scanning the ringtone directory, so you cannot simply drag-and-drop a .m4r file to your ringtones directory and have it appear in your sound settings (there is a tweak to fix this, I think, but I forget its name). However, once a file is in the .m4r format, you can drop it into iTunes like any old ringtone, and it will work (as long as it is <30 seconds). :)
tl;dr - convert from .ogg to .m4a, rename to .m4r, transfer via iTunes
Sorry about the wall of text; if you still can't figure it out, let me know.
probably the simplest way would be to copy them to a USB drive and move them that way.
If you have Windows on your main computer use winscp any OS X mac is actually Unix under the hood and will have an scp command
scp :/path/to/photos /path/to/local/dir
Install WinSCP connect with the same details you use for SSH in PuTTY and copy the folder. You will lose any permission bits and user/group ownership information though.
It sounds to me like:
- You need to install a graphical interface, not an entirely new server. You're on a server.- Follow these instructions to do that: https://www.routerhosting.com/knowledge-base/how-to-install-gnome-on-centos-8-visual-guide/
​
The easiest way to use access it, WinSCP: https://winscp.net/eng/index.php
For security, SCP and using WinSCP is good.
If you want native File Explorer access, you can type ftp://serverIP in the navigation bar, or you can Add a Network Location from the ribbon menu --> Computer tab. It will prompt for your username/password and let you see directories/data, and it is generally faster to use, but less secure (credentials are transmitted in clear text using FTP, and in this case, doing so over the Internet)
Also have some understanding of how to recover from this if it fails, from what I see it is just a reboot until that knowledge is a little stronger.
OpenWRT is mostly for advanced users, well even some standard OEM systems can be as well.
It is not a trivial task installing OpenWRT onto a device, without some forehand knowledge of what that task is doing, or how to recover from it.
I have seen over the years too many that don't have the full grasp of what exactly it is they are doing, coming back and saying, oops I bricked my router, I need help ASAP.
But from ready the instructions, this is more complicated than most installs that only require you to upload an image to the "upgrade" process of most OEM routers software.
One option you may have if you don't have a client capable of you could use a Linux VM, only needs about 2 gigs of memory to run, WSL
https://winscp.net/eng/docs/ftp_modes
WinSCP seems to support passive mode.
The instructions are pretty clear on what is required and pretty detailed.
My suggestion is to learn a little more about what it is you are being asked to do to this device and once you can grasp what passive mode ftp is versus non-passive, you should move forward.
Also have some understanding of how to recover from this if it fails, from what I see it is just a reboot.
Also, look at what is needed for a serial console, that will save you tons of headaches, you will be able to get info that would not otherwise be seen just watching lights flicker.
This will all be a learning experience, but don't expect an out-of-the-box click this and be done thing.
You will have some learning curves, and that is OK because OpenWRT will force you to learn something as well. Networking is not plug-and-play.
Also, all I had to do is search for "ftp windows client with passive support" and found at least 3 recent windows clients that had support for this.
> It is my understanding that IIS does NOT support SFTP but DOES support setting up secure FTP (FTPS).
Correct. Using a cert on IIS is FTPS. SFTP is doing the transmission over ssh instead.
For SFTP you could look at WinSCP (ported by Microsoft) or install the Linux subsystem on Windows and build your SFTP server from there. the WinSCP route will be easier to maintain.
You can store it in a configuration file that you reference in the sessionoptions.
Here is the documentation on WinSCP
https://winscp.net/eng/docs/guide_protecting_credentials_for_automation#powershell
No sorry I can't put a script on here but take a look at this:
https://winscp.net/eng/docs/script_upload_single_file
In short create a text file with the files you wish to move and run the command:
winscp.com /script=txtfile.txt
Hope this helps!
Hey, welcome to Reddit! A quick note, if you are requesting something, don't give your post the same title the thing your requesting would have. People would could answer your question are likely skim past your post ("well I don't need that guide"), and people who can't answer might click on the post thinking they're getting a Guide. Adding "Request:" or formatting your title as a question is more likely to get the people you're looking for.
There are a TON of ways to do this, but here are a couple:
Do you have one or two SD cards in your device? If you have a mini-SD to USB converter, you should just be able to put ROMs on there.
If you don't have two SD cards, it's probably easiest to use an SFTP client (I like WinSCP):
IP addrs: usb0: $IP
, put the $IP
part into the "IP" or "Hostname" of your SFTP client, user root
, password is whatever random password it generated./media/data/ROMS/
directory.(I was gunna post some screenshots, but Imgur is down for some reason. /shrug)
Qwix is more of a game manager that's capable of FTP, not really general purpose transfers
What about FileZilla doesn't work for you? Open FileZilla, go to Edit > Settings, change the transfer mode to binary, and then connect to your consoles IP (allow through firewall if prompted)
If you can't get FileZilla to work then try WinSCP
Does your utility give any error message when you attempt to enter the directory? Can you navigate to the directory step by step, instead of in one jump? Do the permissions and ownership of each directory in the path look normal? Is the path super long, or does it contain any Unicode characters? Have you confirmed that there isn't an undocumented XML configuration option to set the version? Can you write a Python script to do the transfer for this case? Is the remote machine running one of these servers?
I will probably store the credentials in an XML-file as described here:
https://winscp.net/eng/docs/guide_protecting_credentials_for_automation#powershell
As you have already pointed out, I will have to use a job to make GMSA write the encrypted password to a file.
FileZilla seems to work well enough for me though I'd like to migrate to something else eventually. /u/Forgery is correct, absolutely avoid any and all installers for FileZilla - I just use the .zip download and unpack/run it directly. Unfortunately the FileZilla devs have no plans to get rid of those bundle installers.
Another downside is that FileZilla does not support multipart/segmented FTP downloading which would help speed up transfers. The FileZilla lead dev has no plans to support that feature. To be fair WinSCP does not support it either.
So I guess both applications are about the same to me since neither has multipart/segmented downloading. Maybe WinSCP has a slight edge if their current installer has no bundled crapware in it.
For file transfer my hat goes off to WinSCP https://winscp.net/eng/download.php
Features
It's also been actively worked on and updated since the year 2000 when it was released.
I have to manage countless file transfers from various scheduled sources/destinations on a load balanced SSH/SFTP servers and WinSCP gives me the most flexibility & consistent connections. It's error handling is fantastic to help me capture exceptions. I can't recommend this setup enough.
Yeah, apparently to connect to OneDrive by WebDAV the client must support Microsoft Passport authentication which neither Transmit nor HyperBackup do. It was added to WinSCP for exact same reason.
I'll submit bug reports both to Panic and to Synology. The more people do that the more likely this will get addressed.
Can you SSH into the Plex server?
If so, run these at the command line:
cd / find ./ -name "Plex Media Server" That should find your database directory.
You can use WinSCP to move files in/out of a linux box, so that's worth a download.
I use WinSCP now which you can download at: https://winscp.net/eng/download.php
FileZilla is also an old time reliable package which you can get at: https://filezilla-project.org/
With both these you need an ssh or ftp server running. My fileservers are all linux so all of that runs right out of the box. I think both those programs have server side setups but I have never tried that with WIndows.
I use to use FireFTP, but I switched to using WinSCP, which is a standalone program, not an extension. Besides FTP, it handles the SCP and SFTP protocals, which are both more secure than FTP. I now use it in explorer mode, so that I can open a file from my web site to my text editor, then automatically upload it when I save any changes. The only drawback to doing it this way is that I don't always notice when it fails due to the connection being lost. If it could beep on failure, it would be even better.
Not directly an answer to your question, but I looked into FTP uploads with Powershell and ended up using the WinSCP .net assembly. It is well maintained (latest build came two weeks ago), and offers a lot of functionality. It worked very well for our use case.
OK but once again, you are giving zero context. A solution that works for others may not be the best solution for you. If you want to automate file transfers using file transfer protocols, then just use SCP's built-in functionality to automate file transfers, there is absolutely zero reason to use Python in this scenario.
If you are just doing a crude file transfer, you can open winscp(https://winscp.net/eng/download.php) on windows and login via your Linux username/password. Root logins are typically disabled by default. You use the ip address of your linux box.
If you want this as a long term option, you can share a folder on windows or linux and mount with samba/cifs. Another option is that, if you don't have a NAS, most routers have a usb key port, in which you can stick in a decent usb key and create a smb share(depends on the router firmware).
Yep, WinSCP does the job nicely and is very well documented. Any issues just run through your script manually on the command line - we sometimes have to manually re-accept certificates for encrypted connections, otherwise it's smooth sailing.
WinSCP has a keep up to date feature. It will automatically upload files as you change them.
I find it much easier to develop locally though, pushing to Git triggers CI to build the latest version of the app.
give me a sec to look into this, ill update my comment when I have. Thank you though!
Edit:
I have removed both $today and $notime. Yeah, they were definitely bad vars! Thanks for pointing out the inefficiency.
So WinSCP has some tricky .net assembly code that is proprietary, thus the strange code like $transferResult.Check() and $session.dispose(). See below for further details.
$transferresult.check() is a WinSCP .net assembly line of code that will verify if there are any errors with the transfer and write-host them if there are. Useful for if you have a try-catch that is used in a script that contains this function. See - https://winscp.net/eng/docs/library_transferoperationresult
Deleted the last $session.dispose at the end there, thanks. $Session.dispose(), kills the SFTP connection. $Session.dispose(), no matter what, will only be used once in this script. If you look at order of operations you can see that it will run if:
At no point will there be a successful state and failed state (Thus the If-else loops). The session is created by $session.Open($sessionOptions)
"6- the log output on line 144 shouldn't that go to the error log? or perhaps "also to the error log"?" - Yes, definitely. This is a mistake, thank you very much for noticing it.
"7- there doesn't seem to be a timestamp in the error log. that is rather odd. [grin] you might wanna add one." - This was fixed!
I have uploaded these changes as SFTP-Upload-Edits if you want to check them out!
Please do not hesitate to talk about my formatting, I need as much advice as I can get and I don't know anyone else doing powershell (Write-Host " :[ ")
If you don't need to access the Windows NTFS partition you can run any linux distro as a VM in Virtual Box no muss no fuss. Virtual Box is free and it works well. If your linux scripts need access to a Windows partition it's possible to sshfs into Windows using this:
https://winscp.net/eng/docs/guide_windows_openssh_server
I haven't tried doing this as my VMs don't need anything on the Windows side but in theory it should work. The WinSCP client is one of the first apps I load on every Windows box I have to work on.
This page has info about WinSCP sync. Basically go to Commands > Synchronize in the application.
Make a backup of your files first before playing around with this feature. (Copy the directory to your computer, somewhere you aren't going to sync.) There is a change that you might delete your remote files if you force a sync with a local empty directory.
I would jailbreak the iPad and use a program like ifile off cydia to browse the iPad find the location of your recorded music and back it up to your computer then delete the app and try reinstalling garage band and see if your music is still there or you can move the backup from your computer back on etc it's going to be your best bet.You can use winscp to browse your iPad file system with your computer once jailbroken.
http://www.redmondpie.com/absinthe-jailbreak-ios-5.1.1-untethered-available-for-download-now/
Easiest way is to use WinSCP on Windows or Cyberduck on Mac. They will allow you to browse your RetroPie files over your network. Your Raspberry Pi will need an IP address for this, so either configure wifi with an adapter or connect an ethernet cable to your router.
Navigate to home/pi/RetroPie/roms and you will see folders for each system. Find the ROM you want and delete it.
You will need to open the gamelist.xml and manually edit it to remove the entry. It's location will depend on which scraper you used. Although this isn't really necessary, since once the ROM is gone, EmulationStation will just ignore the entry.
I'm trying to copy this example and I'm not getting anywhere. I saved the example text with a ps1 extension, changed the session settings to match my sftp credentials but nothing happens when I right-click and run it. If you have time do you think you could help me?
The main thing I'm confused about is this:
Add-Type -Path "WinSCPnet.dll"
Do I need that .dll file to be put somewhere specific? Also, can I run the ps1 script by right clicking it or do I need to create a batch file for winscp to call the script?
If I call the script using a batch file:
winscp.com /script=Example.ps1
I get an error "unkown command 'param'".
I would recommend SSHing into the device if you're on the same wifi. You can do this with the program WinSCP for your computer, and OpenSSH in Cydia.
Here is a quick guide that shows you how to use it. Let me know if you have any issues.
The titles are saved in gamelist.xml files. These are located at /home/pi/.emulationstation/gamelists/
. There is a folder in there for each system that contains the individual gamelists. You should be able to use a program like WinSCP to remote into the Pi and copy those gamelist.xml files to your PC and then open them in whatever text editor you want.
Try Winscp:
https://winscp.net/eng/docs/lang:nl
Tutorial on how to install it for iOS:
https://winscp.net/eng/docs/faq_iphone
You also need CustomCover from Cydia.
After you installed everything, you can find the CustomCover folder in: Library/Application Support/CustomCover/Themes
Put the two folders inside the zip here.
One option is to setup a VPN so you can connect to workplace1's network from workplace2 and the NAS should be usable just like it would if you were in workplace1. Or the other option is setting up a secure FTP server so you can remotely access the NAS.
Depending on the NAS, it may have a FTP feature built right in. If not, there are plenty of tutorials such as this one that go over how to setup, secure, and connect to a server.
The easiest thing to do would probably be to put in on your PC and use WinSCP, so long as it is connected to a network. Once you have installed WinSCP, you can connect to retropie
with the username of pi
and password of raspberry
.
If you would like to copy it from the USB drive, you can do so by first quitting emulation station. This will put you at the command line interface (CLI). From there you will have to navigate to your USB drive. This can be different depending on the individual drive. To move from folder to folder you will use the cd
command. To move into a directory you will type cd DirectoryName
. To go back a directory you will use cd ..
. USB drives should accessible from /media/
. In that directory should be your USB drive and I'm assuming it will be /media/usb
. You should then be able to copy the configuration file to the configs directory with the cp
command. I believe that you will need to copy the config file to /opt/retropie/configs/all/retroarch-joypads
so long as you are using version 3 (Beta or RC). In your case since you will already be in the directory containing the config file to copy you should be able to cp ConfigFileName.ext /opt/retropie/configs/all/retroarch-joypads/
. ConfigFileName.ext will need to be replaced by your actual config name.
That's an awful lot to hit you with and I probably didn't do the greatest job of explaining, so feel free to ask any questions you may have.
It is, but it's a pretty big pain in butt imo. Both of those FTP clients are free to use as well, I highly recommend checking one out.
WinSCP:(my personal choice) https://winscp.net/eng/download.php
Filezilla: https://filezilla-project.org/
With either of these, you enter your FTP login information from Beastnode to connect, and can then upload/download/view files between your comp and the server.
You don't.
The code snippet you provided is WinSCP script coding, nothing to do with the file system.
You need to add appropriate code to a powershell or batch script.
You can easily do everything from one powershell or batch file, including calling the WinSCP commands.
Example: https://winscp.net/eng/docs/script\_synchronize\_any\_local\_file
Key things you will want to learn ASAP,
​
This dashboard is showing you the IP address the console has, (atm nothing) Because you can connect to it remotely to transfer games / roms onto it using FTP.
If you have never used an FTP client, I can recommend WinSCP https://winscp.net/eng/index.php
.XBE files are generally the xbox equivalent to .exe's on windows, standing for XBox Executable.
​
XBMC (XBox Media Centre) is a great little media player + file manager, now known as Kodi for raspberry PI or Home Theatre PC's.
Connect the Xbox to your home network, run an FTP client such as Filezilla or WinSCP on your PC to connect to XBMC's FTP server to download files from the console.
Connect to the IP address of the Xbox. Login credentials to connect to the FTP server are username - xbox and password - xbox. Username and password are case-sensitive.
One thing you could do to help with the overall size is using ZIP/GZIP/TAR or other formats to compress the files.
Then you could use filezilla and SFTP to download the compressed file and then extract on your computer.
You can use WinSCP to autosync the server directly to the local computer https://winscp.net/eng/docs/guide_synchronize
Sure, I can tell you how I did it but I'm certainly no expert.
I have a Windows pc on my network and an Rpi4 using Libreelec.
Download WinSCP https://winscp.net/eng/index.php and install it onto your PC, make sure you have SSH enabled in Libreelec menu.
You should also download the Fen zip to your PC https://github.com/Tikipeter/repository.tikipeter/tree/master/zip/repository.tikipeter
Once you open Winscp, it'll ask for a new session with details to enter. For Libreelec, the Hostname is LibreELEC then user is root and password is libreelec. Once you're logged in the left panel is PC folders and the right panel is Libreelec folders, find the Fen zip and drag it across to a folder on libreelec (i used media).
Once that's done I opened Libreelec and navigated to install from zip/root/media and chose the Fen zip and it installed normally.
Thanks for the input. I got to digging around on WinSCP's site and found this:
https://winscp.net/eng/docs/faq_script_non_recursive
I added the file mask to my script and it works like a champ. I think it was trying to recurse into the ".working" folders it was creating after they were deleted. Not sure. Regardless, this remedied it. So, now the script looks like this:
open sftp://RemoteServerUsername:Password@RemoteServer/ -hostkey="ecdsa-sha2-nistp521 521 xxxxxxxx"
cd /solstice-test/outbound
lcd D:\BLUJAY\TEST\INBOUND
get -delete -nopreservetime -filemask="|*/" *
exit
Just as u/Dragkiller43 has already stated:
echo y | &("C:\Program Files (x86)\PuTTY\plink.exe") -pw "supersecret123" [email protected] "/sbin/poweroff"
the echo y is to answer yes to accepting / caching whatever key / fingerprint the SSH server identifies itself with.
​
BTW - on a slightly related topic: if you ever want to mess with transferring files (SCP, etc.) - consider the WinSCP automation libraries
https://cdn.winscp.net/files/WinSCP-5.19.2-Automation.zip
$settings = @{
Protocol = [WinSCP.Protocol]::Sftp
HostName = "192.168.2.17"
UserName = "admin"
Password = ([System.Text.Encoding]::Unicode.GetString([System.Convert]::FromBase64String('c2VjdXJpdHkgdGhyb3VnaCBvYnNjdXJpdHkgaXMgc3R1cGlk')))
SshHostKeyFingerprint = "ssh-rsa 3072 nvWsWsWYW7gP6siiCoeCEAiC3oYEAVBCHB0FvNBBExE="
}
$localPath = "q:\files-to-copy"
$remotePath = "./dropemhere"
$WinSCPnetPath = "D:\WinSCP-5.19.2-Automation\WinSCPnet.dll"
Add-Type -Path $WinSCPnetPath
$sessionOptions = New-Object WinSCP.SessionOptions -property $settings
$session = New-Object WinSCP.Session
try{
$session.Open($sessionOptions)
$latestfile = gci -path $localPath -File | sort LastWriteTime -Descending | select -First 1
if ($latestfile -eq $Null){
write-host "No file found" -fore yellow
exit 2
}
$session.PutFiles(
[WinSCP.RemotePath]::EscapeFileMask($latestfile.FullName),
[WinSCP.RemotePath]::Combine($remotePath, "*")
).Check()
}finally{
$session.Dispose()
[gc]::Collect()
exit 0
}catch{
Write-Error $_.Exception.Message
exit 1
}
I work for a hosted SFTP provider, and for Windows, WinSCP is by far the favored solution for automating - they have support for scripting and even provide sample scripts to get you started https://winscp.net/eng/docs/scripts
For a unix or mac world, command-line SFTP is a great option. No-frills, but you'll find a million tutorials about how to create a batch script and cron it.
There's also third-party services such as integromat, boomi or celigo which are all about moving things from one server to another. The advantage of someting like that is you tend to get built-in retry attempts and logging.
If you are going to roll your own, I can't stress this enough: use SSH Keypairs for authentication, rather than storing your password in your scripts. Also, if you can put in the work to create a human-readable text log of what your script does, this will make everything so much easier to debug when things inevitably break.
Instead of Filza, you can use WinSCP with OpenSSH installed on ur iDevice (Or) Apple File Conduit 2, (Reddit Post/Big Boss Depiction)
Is there a way to transfer emulator saves from Vita to other devices?
I've seen this asked before, but not recently, so thought I'd try my luck again.
I have my Pi set up to sync with my PC, thanks to the wonderful work of /u/Jandalf81 (how to here) but I'd now like to do the same between my Pi and my Vita.
It doesn't look like any kind of tricks can be used to sync Vita files to onedrive/other, but maybe I'm wrong?
One thing I had been contemplating is working out how to do it via a WinSCP script which wouldn't be perfect, but would be something. Don't know what I'm doing when it comes to scripts, but plan to give it a go, unless anyone has any other solutions?
Tl;dr is there a way to (automatically) sync emulator save files from the Vita to another device?
Winscp is fine, also the store version should be more than ok, check if it's the same as the one linked here (the link should go in the same place in the store): https://winscp.net/eng/docs/guide_install
Other than that for one-off if you don't want to install anything Internet Explorer (seriously!) can do ftp. Also windows has a command line ftp client (still has, I think it's the internal one, I didn't install anything special). If you want batch work use rclone or if you want it integrated in a file manager get Midnight Commander.
> Yes I already installed OpenSSH
Wait, I mentioned it in connection with Windows 10. I was explaining that Windows 10 now allows OpenSSH to be installed. That would have a big advantage compared to using that Windows executable you downloaded. You could instead issue commands in a terminal, which would allow you to find out what's going on.
If you don't have access to the linux shell, here's a link to something that can work over just the SFTP connection using WinSCP and Powershell.
https://winscp.net/eng/docs/library_example_find_duplicate_files
Do you have a newline before the closing " on the secure string? It might just be how the formatting looks on reddit, not sure. I'm wondering if that could be throwing off the password.
It does look like you've got everything setup inline with the guidance here: https://winscp.net/eng/docs/guide_protecting_credentials_for_automation
You'll need an FTP client, I highly recommend WinSCP. Once you install and launch it, change the file protocol to FTP in the Login window, and enter the IP address displayed on your Wii U as the host. Then, check the "Anonymous Login" box and press Login. You'll see a few directories appear. Navigate to sys_prod.xml and make the needed changes.
Try WinSCP. It is EXCELLENT and very easy to use. You can open a terminal session in it if you want to. I don't recommend copying files with its GUI, but it will help you navigate and understand where stuff is. It has putty built-in as well.
https://winscp.net/eng/index.php
The easiest way to do this is to:
Umm? Id use scp instead of ftp. Ftp has been abandoned by all UNIX admins who want to be security conscious. Some ftps versions have a s flag that uses ssl, but many people have moved to scp.
I wonder if any one has experience with winscp?
So the SFTP client would reside on-prem and then would upload to a web service? That's pretty straightforward. No opening of ports or NAT needed if it's strictly a client. I use WinSCP https://winscp.net/eng/index.php
Your security team is referring to connection tunneling (SSH port forwarding). This lets you forward ssh connections and can indeed pose a threat depending on your environment. See https://winscp.net/eng/docs/ui_login_tunnel for more info on that. Very typical of security to simply ban and refuse any reasoning behind things sadly.
its definitely possible - i've written a script that does this. unfortunately i cannot share as it belongs to the company and not myself. the winscp site is a good resource - https://winscp.net/eng/docs/library_powershell
df -i
looks good (next time use code block to paste in on reddit ;-) )
but now i am confused. you mounted /dev/sdb2 (which is a external hard drive connected to raspberry) as network drive in windows 10 and you would like to copy the 31GB to this drive and not the /dev/root, right? because the root partition clearly has not enough space for the 31GB...
Either i missunderstood or I can tell you that you have to mount the /dev/sdb2 drive to windows and not the root partition...
You could try https://winscp.net/eng/index.php, connect via ssh/sftp and copy the files with that software
(btw, since you are still using the pi user on raspberry, i hope you changed the default password)
For PowerShell this is the way to go: https://winscp.net/eng/docs/library
Full WINSCP functionally (afaik) through a. NET assembly. PowerShell examples included, and iirc you can even generate PowerShell from the program itself that uses this library.
assuming you work from a windows box, you can use winscp (which, despite the name, uses sftp). Gives you a nice commander-style gui, and if you specify an editor (like vscode), you can edit files directly on the remote machine.
>Will cpanel and mysql come with vultr or digital ocean ??
I know Vultr offers Cpanel with hourly billed license, Digitalocean does not have Cpanel. In any case I don't see any reason to use Cpanel unless you're running your own web hosting company, or host your site on a shared company. There are plenty of alternatives, and Linux servers always has plenty of packages with replacement protocols for file transfers and all kinds of stuff, sometimes preinstalled.
>Will cpanel and mysql come with vultr or digital ocean ??
Few providers offer fully managed mysql, I think both has server plans with mysql preinstalled tho which is really easy to use. Just make sure you have working backup routines. On the other hand, installing mysql on a Linux server just just a matter of a few simple terminal commands. Plenty of tutorial exists.
>what about file manger? or i have to do everything myself ( I mean build it myself)
I think the preinstalled LAMP/LEMP/Wordpress images has a FTP server built in, in that case all you need is a FTP client. Tho I'd recommend SFTP which is heavily underrated among Windows users, (just assuming you're on Windows :)) SFTP is used over SSH and preinstalled on all Linux machines in the cloud. On a Linux client you'd connect to your server directly using your favorite file manager. On Windows, you might wanna use this SFTP client https://winscp.net/eng/index.php
For running sftp I use WinSCP. It's a free application that runs on Windows and allows you to upload/download files and directories on the C.H.I.P. It is at
Ken
Haven't tried it in Powershell (used it in C#), but WinSCP has a .net library that you can call with Powershell.
This the correct answer. For easier ssh setup AND appliance-like stabilty and performance, use the OpenELEC RPi image.
For tunneling ftp through ssh on windows, winscp works hand in with PuTTY, the ephemeral windows ssh client.
https://winscp.net/eng/index.php
FileZilla is also popular for remote file management.
Edit: a vnc client such as tightvnc can also tunnel over the ssh connection.