Tag Info

New answers tagged

0

Have you tried to do this you can mount hdd drive to another, and then alter the fstab to mount the directory to the hdd whit this: # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and ...


0

Since SSH is working fine you should use scp to copy files on the command line. You can also connect to the server via FileZilla using the SFTP protocol. To do this just connect to the server in FileZilla and use port 22. FTP is not secure so you should avoid using it when possible.


3

Apparently you can pipe a command directly to ftp: echo "ls *" | ftp hostname > ls.txt Make sure to quote ls * somehow or to disable globbing otherwise * will expand in the current shell.


2

A good option might be to pipe the output into less: ls * | less Then you should be able to happily scroll through the pages of output without needing any file writing permissions.


2

The location of vsftpd can be specified as a command-line parameter. To do so, you'll need to override the default command in /etc/init/vsftpd.conf (assuming you're not on 15.04 or later): printf "exec /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf\n" | sudo tee -a /etc/init/vsftpd.override Now restart vsftpd and it should pick up the new location. sudo ...


0

You can do this, the only problem is getting an output from ls that is the same on the remote and on your local machine. My ls has an option --time-style=+%s that shows the last modified time of the file in seconds since the epoch, which should match on both machines. I'm assuming you only want to do this for one directory, otherwise find would be more ...


0

I was not able to get ftpd to work, even after launching the confusingly named openbsd-inetd service, so I just switched to pure-ftpd which seemed to launch right away and listen to port 21. The goal of inetd seemed to be to simplify things but that was not my experience.


0

I tried adding a line to my configuration file. Open the config here: sudo nano /etc/vsftpd.conf And put this line at the bottom: allow_writeable_chroot=YES Afterwards, restart the service: sudo service vsftpd restart That fix it for me.


1

You have to /etc/init.d/openbsd-inetd start Since ftpd is part of inetd.


0

There is no need to install another service than SSH. On your mobile device, install https://play.google.com/store/apps/details?id=com.estrongs.android.pop . So go to LAN -> FTP and add an SFTP server. Servername is either the ip or the hostname of your desktop, user and password ist the same like your desktop's.


0

Here's a simple Python script: #!/usr/bin/python import ftplib host = '127.0.0.1' dir = '001' filename = 'mdfile.d.z' # connect ftp = ftplib.FTP(host) # login - anonymous by default # use ftp.login("username", "password") if no anon access ftp.login() # change to desired dir ftp.cwd(dir) # fetch the file, and copy it to a file of the # same name in ...


0

It clearly says that the server does not allow TLS connection. In this case it does not matter if the clients wants TLS, because the server does not want it. Which means you have to change the configuration of the server.



Top 50 recent answers are included