Results 1 to 3 of 3
Hello everyone,
So here is my issue. I am running host Windows Vista 64 and guest Redhat 5. I have currently setup vsftpd linux-side and for every user that logs ...
- 06-21-2009 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 7
Help with Linux FTP CIFS issue
Hello everyone,
So here is my issue. I am running host Windows Vista 64 and guest Redhat 5. I have currently setup vsftpd linux-side and for every user that logs in they go through /home/<username>/FTP/
where FTP is a CIFS mount to a windows folder. This way i can have the FTP connection in linux, but the actual data to be stored int windows.
i used the following mount method:
mount -t cifs //Windows IP/share /home/<username>/FTP/ -o username=xxx,password=xxxx
Everything seems to be working smoothly except 1 thing. when small files are transfered such as text files or PDF's, they are readable on both LINUX and Windows Side. However, when the filesize is larger than about 10 MB then only the linux side can read it.
The windows side will either present an error when the file is opened, or the filesize will read 0 bytes.
any clues?
here's my vsftpd.conf
ftpd_banner=Welcome to Mark's FTP Server
anonymous_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
#anon_root=/home/mark/Desktop/FTP/
use_sendfile=NO
chroot_local_user=YES
guest_enable=NO
listen_port=1084
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=NO
idle_session_timeout=6000000000
data_connection_timeout=12000000000000
banned_email_file=/etc/vsftpd/banned_emails
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
- 06-21-2009 #2Just Joined!
- Join Date
- Feb 2007
- Posts
- 7
any ideas?
- 06-22-2009 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
I think it's the fact that the FTP is going to a CIFS mount on Windows and not a Linux or NFS mount on Linux. I suspect that FTP is not liking this situation and not properly terminating the file in Windows (requires a Ctrl-Z). It would be better to have the target directories in the Linux system, and if Windows clients need access to them, then they can mount the directories if your Linux system has a Samba server running.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
