The File Transfer Protocol
7
votes
5answers
3k views
Why does SCP hang on copying files larger than 1405 bytes?
I'm trying to copy a file from one of my local machines to a remote machine. Copying a file with size upto 1405 bytes works fine. When I try to scp a larger file, the file gets copied but the scp ...
7
votes
3answers
1k views
How to perform GREP on FTP?
I tried searching for similar command in ncftp (actually this is the only terminal ftp client I used) and I didn't find it.
What's the way (if possible at all) to use grep command on remote server, ...
7
votes
1answer
309 views
ftp and shebang
Is there a way to shebang-ify ftp and write small ftp scripts?
For example:
#!/usr/bin/ftp
open 192.168.1.1
put *.gz
quit
Any thoughts?
7
votes
5answers
1k views
Easiest way to duplicate directory over FTP
I want to duplicate a directory on an FTP server I'm connected to from my Mac via the command-line
Let's say I have file. I want to have files2 with all of file's subdirectories and files, in the ...
6
votes
2answers
2k views
User can't touch -t
When SCP'ing to my Fedora server, a user keeps getting errors about not being able to modify file timestamps ("set time: operation not permitted"). The user is not the owner of the file, but we cannot ...
5
votes
1answer
3k views
How can I create users with only remote ftp access on Linux server?
I'm running a Ubuntu 10.04 LTS server and I want to create users who can only access the server from ftp.
What I did so far is:
Install vsftpd
Create new user with default login shell set to ...
5
votes
1answer
331 views
Cannot FTP more than 5791 bytes
On my home Kubuntu 11.10 machine I have discovered that I cannot upload via FTP any single files that is larger than 5791 bytes. I have tried to two different FTP servers (not anonymous rather my ...
5
votes
1answer
157 views
File permissions issue with webserver and ftp server
I have a question concerning permissions.
I'm running lighttpd and a ftp server.
I want to add a ftp user that is able to upload files to /var/www, which then are viewable in a browser.
What is ...
4
votes
2answers
636 views
How to override port settings when connecting to a public wifi?
I am connecting to a free public wifi, I want to connect or use other ports like FTP and SSH. What are the possibility to override it?
In order to connect to the internet, They are requiring me to add ...
4
votes
3answers
4k views
FTP client with a good GUI?
I love linux because I get control over my system. But I do herald from the school of mac, where things are simple, beautiful, and powerful. I like it that way, as opposed to having lots of knobs and ...
3
votes
2answers
2k views
Automate file transfer from Windows to Unix
I have the following situation: users update csv/txt files on daily basis on Windows. I use those flat files as input for my Oracle scripts which is on Unix. I need help on script/method of ...
3
votes
1answer
226 views
What is the use of literal command in ftp?
Browsing through FTP help (i.e. ftp> ?), showed me a command name literal, description of which is
ftp> ? literal
literal Send arbitrary ftp command
I tried to do some trial and ...
3
votes
2answers
468 views
pure-ftpd floods /var/log/messages
My /var/log/messages is full of messages like:
Jan 29 01:00:02 vm2147 pure-ftpd: (?@::1) [INFO] New connection from ::1
Jan 29 01:00:02 vm2147 pure-ftpd: (?@::1) [INFO] Logout.
Jan 29 01:05:02 vm2147 ...
3
votes
1answer
12k views
VSFTPD, 553 Could not create file. - permissions?
I've set up VSFTPD on Amazon EC2, with the Amazon Linux AMI. I created a user and can now succesfully connect via ftp. However, if I try to upload something I get the error message "553 Could not ...
3
votes
2answers
363 views
Is it possible to transfer files in a date range via FTP
I need to transfer a large number of files from an FTP server to a new server. There could be thousands of files so I would like to limit it to files that were uploaded in the last three months - is ...
3
votes
2answers
201 views
Incrementally backup FTP to local computer
I want to backup a FTP directory (not backup to) with a cron script running daily. I'd prefer a solution that could sync the FTP to my local computer; only copy files changed and remove files that ...
3
votes
1answer
598 views
How do I know that FXP is enabled or not? (AIX FTPD)
# grep -i ftp inetd.conf
ftp stream tcp nowait root /usr/sbin/ftpd
# oslevel -s
6100-06-05-1115
So I have an AIX 6 server. How can I check if FXP is enabled on the FTPD or ...
3
votes
2answers
2k views
How to check disk usage in ftp?
Is there a way to sum up the disk usage of a certain directory while in ftp?
I was trying to create a script that will check what is the disk usage of the current directory and prints out the free ...
3
votes
1answer
489 views
Set visible directories for SFTP access?
I am setting up SFTP access to one of my machines running Linux with the Dropbear SSH server. When I SFTP onto the machine remotely, I can see the entire filesystem on it, even if I might not have ...
3
votes
1answer
2k views
Default File Permissions - Ubuntu & VSFTPD
I have a server setup with Ubuntu, Apache2 and VSFTPD. We virtual host several sites on this machine. Typically, I use the same process to set up the new sites, but the default permissions for some ...
3
votes
0answers
122 views
Will a account get locked while logging in FTP mode to a remote server whose password has already expired in UNIX
I have a FTP user id to a remote server, the password for which has expired.The account is getting locked if connection is being made in FTP mode to the server with the old(expired) password. Is ...
2
votes
2answers
411 views
I need to transfer a very large folder over FTP, without creating a file first
I am running an Amazon EC2 instance that is limited in disk space. I have a very large folder that I need to FTP to my local machine, preferably without creating an intermediate tar file, since there ...
2
votes
2answers
628 views
Puzzle: transfering files between two servers (ssh, ftp, http multipart…)
A puzzle: files being uploaded in realtime by SCP to SERVER1 need to be transfered to SERVER2.
But:
SERVER1 doesn't actually have network access to SERVER2 (NAT), however SERVER2 has SSH access to ...
2
votes
2answers
598 views
How to loop through each file in FTP directory using a bash script [duplicate]
Possible Duplicate:
How to delete the oldest file over FTP using CURL?
I need to connect to a remote server using a bash script and then delete all files within the directory that are older ...
2
votes
1answer
508 views
How can I queue up an entire directory for FTP?
Currently I know how to do this:
curl -T file.zip ftp://server.domain.com/ --user username:password
Which will let me do a single file. However I can't figure out how to do it for a directory. I ...
2
votes
2answers
1k views
What is a reliable way to automate FTP upload of 'the newest file in directory X'?
I have this folder full of files.
Once per day, I want the newest of the files to be FTPed automatically to a file server.
2
votes
2answers
2k views
vsftpd does not list content of a directory
I have set up a FTP server using vsftpd and enabled anonymous upload and download. The problem I have is that when I upload a directory it will be uploaded successfully (I can see it in server), but ...
2
votes
3answers
2k views
Is there a way to write a script to do ftp login so I don't have to type things over and over again?
I am recently working extensively with a remote system via ftp connection, since the session time is so short that I have to re-login quite often when I finish my work on my local machine, so I need a ...
2
votes
1answer
45 views
Is there any FileZilla Server alternative (GUI based) in Linux?
I'm wondering is there any alternative to FileZilla server in Linux?
I'm looking for a server with GUI manager which offers nearly zero configuration so I can run and manage FileZilla server within ...
2
votes
1answer
540 views
How to ensure that anonymous FTP has been disabled on a Solaris 10 system?
What line in which configuration files in the /etc/ftpd directory do I have to check to ensure that anonymous FTP has been disabled?
From my understanding now, to ensure that anonymous FTP is ...
2
votes
2answers
1k views
Filezilla: GnuTLS error when using FTPES
Response: 220-This is a private system - No anonymous login
Response: 220 You will be disconnected after 60 minutes of inactivity.
Command: AUTH TLS
Response: 234 AUTH TLS OK.
Status: ...
2
votes
1answer
265 views
A local, centralized, secure way to store FTP login data, including passwords
I want to be able to store the login details all of my remote FTP accounts in one place, securely. Then I'd like clients like autofs/curlftpfs, Filezilla, etc to use this one store of passwords. I'm ...
2
votes
2answers
52 views
Permissions for FTP directory: Inherit directory owner
I am making multiple folders for users (userA/, userB/, etc.) where anyone can create/read a file/folder in any directory (userC can make fileX inside userA/). However, only the directory's owner can ...
2
votes
2answers
61 views
Remote access SSH problem
I have been asked to setup a lab with 1 PC (fedora 18 OS) and 4 SGI (IRIX 6.5 OLD OS).
I am using a switch to connect them to university's network, and I asked tech guys to assign static IPs to them. ...
2
votes
1answer
1k views
CentOS 6 VSFTP 553 Could not create file
I installed vsftpd yesterday on CentOS 6, however didn't get a chance to test it today. When I went to upload a test file it's coming back and giving me this error:
553 Could not create file
After ...
2
votes
1answer
454 views
affordable cloud space for a duplicity backup? [closed]
I'm searching for around 1TB of cloud space for backup using the Unix/Linux duplicity backup tool? Are there any recommendations?
2
votes
1answer
336 views
How to add folder to existing user [proftpd]
As we know we can add folder to user using useradd user -p user_passwd -d /home/ftp/user_dir/ -s /bin/false but how to add folder to existing user, for example /home/ftp/root for root ?
2
votes
1answer
31 views
Share a directory over FTP with chroot_local enabled
I'm using vsftpd. By default, when I create a user, they are jailed in their directory which is /home/user.
I have enabled chroot_local_user=YES.
On the other hand, I also wanted to create a shared ...
2
votes
1answer
134 views
pureftpd - login authentication failed
I am on openSUSE 10.2, using pure-ftpd v1.0.21
I've added new virtual user, but I cannot connect (password is ok)
Output of verbose log:
Apr 10 17:10:35 hostzzz pure-ftpd: (?@xxx.yyy.zzz.uuu) ...
2
votes
1answer
643 views
Ksh Script to ftp multiple directories simultaneously
I'm new to this site and i have this problem:
I have a directory in unix with multiple directories in it. Each directory have around 5k files in it. So we are talking about 40k to 50k files. I need ...
2
votes
1answer
192 views
unable to connect ftp in pasive mode
I'm try to connect to ftp which I've just configured but using FileZilla, I'm getting the following logs
Status: Connecting to x.x.x.x:21...
Status: Connection established, waiting for welcome ...
2
votes
2answers
856 views
getting 553 - cannot create file in vsftpd (ubuntu 12.04)
I'm trying to setup a ftp account for a user that has read/write access to one folder: /items/myuser
I've set up the account with username 'myuser' in Linux with the adduser command. After that, I've ...
2
votes
2answers
805 views
How to limit ftp speed
I have multiple user on a server, they upload and download their file through FTP, sometimes some heavy transfer make high load on server, I am wondering is there any way to limit ftp speed to avoid ...
2
votes
2answers
2k views
FTP over SSL in AIX (UNIX)
Folks over at SO couldn't answer this, so I am posting over here.
I need to do an FTP over SSL to a FileZilla Server running on a Windows server from an AIX Unix clien. I have the Host name of the ...
2
votes
1answer
246 views
change sftp to ftp
I recently installed a CentOS machine for a couple of game servers.
I followed some tutorials on the web for that, because I'm a linux noob.
But. I want to sftp to store data on the server but it is ...
2
votes
1answer
438 views
pure-ftpd permission denied on external usb drive
I have a sheevaplug PC (Debian installed) that I'm trying to setup my personal FTP server with. So far I was able to set up auto mounting and installed pure-ftpd. I currently have autofs setup to ...
2
votes
2answers
32 views
A secure way to confine FTP login users to a single directory
I needed to provide multiple users FTP logins, some able to write, some only to read, to a single FTP root directory. I very much wanted that they not see of the file system anything above that ...
2
votes
0answers
194 views
CentOS - how to install vsftpd for specific username to have specific directory access only?
I have VSFTPD installed in CentOS. Where i have one username "lesstrust1", when the user login i want the user only can upload/download to this path /var/www/html/oxwall
$ yum install vsfptd
$ ...
2
votes
0answers
131 views
vsftpd: Passwordless authentication to different directory
I am configuring a vsftpd server and the requirements are:
I need a user resourcesadmin with home directory /var/www/resources with password authentication and FTP with write access (already done)
I ...
2
votes
1answer
197 views
FTP timeout FIRST time
I'm using PureFTPd on MacOSX (Snow Leopard, not server version). When trying to access the FTP account from the outside via dyndns (e.g. using https://www.wormly.com/test_ftp_server) the connection ...
