Connection problem - no ftp connection
It is hard to use Dreamweaver, when the FTP connection seems to have been erased. Has anyone experienced this?
Hello,
many of the people here use the DW integrated FTP function.
There this should work: Site->Manage Sites. Select your site and click Edit. Use wizard on the "How do you connect to your remote server?" question to select FTP. Insert your FTP login information and test the connection. Now you should be able to upload your site. > Look to your files panel. Use Up arrow to upload files to your server. You naturally need all the data here to access the server.
In addition, I'll quote a hint from Nancy O.:
Try toggling Passive and/or Secure FTP on/off.
Your web host might have changed upload requirements to improve security.
Another thing to check is your Anti-virus and Firewall settings. If they are too restrictive, DW may not have permission to connect to the remote server.
Some here have difficulties, so perhaps it is worth to go a different way. It's well known, that in all these cases you describe I'm not a friend of a detailed troubleshooting. To be able to be independent in all this things It is one of the reasons why I prefer an external FTP program. The difficulties with which you have to fight encourage me in this opinion, not least because we always search for experts, we don't charge a "jack of all trades".
To manage several websites or to upload my files and sometimes for the opposite way, for a necessary download from my server or to use a "a site-wide synch", I'm using FileZilla. It simply looks easier for me to keep track of all operations precisely and generate or reflect easily the desired tree structure.
Above all, FileZilla has a feature (translation from my German FileZilla) called "compare file list". Here it's possible to use file size or modification time as a criterion. There is also the possibility to "hide identical files", so that only these files which you want to redact remain visible.
And even if it means you have to install a new program, I am convinced that there is an advantage. Here is the link to get it and where you can read informations about how it works:
http://filezilla-project.org/ and http://wiki.filezilla-project.org/Tutorial#Using_the_site_manager
Mac: Mac OS X (Use: Show additional download options)
http://filezilla-project.org/download.php
Of course, you also need all the access data to reach your server and for MIME issues, you should contact your web host/provider.
Good luck!
Hans-Günter
P.S.
Since I use two screens, the whole thing became even more comfortable.
Similar Messages
-
Problems With FTP Upload in Leopard 10.5.3-4
Hi, I experience a strange problem with ftp upload speed in 10.5.3-4. When I start upload a file to my trusted ftp server the upload speed starts to decrease from 300 kb/sec to 35 -40 kb/sec. It remains normal for 1-2 minutes (about 300 kb/sec) and then smoothly decreases to 35 -40 kb/sec. Pressing Stop and then Resume in Cyberduck makes speed normal for 1-2 minutes and then it starts to decrease again. It does not depend on ftp-client, it does not matter if I use either Cyberduck, Transmit or Fetch. It happens if I use either ethernet or airport connection. I have my old Powerbook with 10.4.11, it's connected to the same router with the same settings and the same time upload speed remains stable about 300 kb/sec.
But when I transfer files from my Macbook to my old Powerbook via ftp everything is fine. And when I transfer files to ftp server of my local ISP it's also fine.
Please, help me, I have to upload big 100 Mb files very often and it's significant difference for me 30 or 300 kb/sec
BorisI'm afraid it's not just the Duck or FTP, Boris....It's many many Apps...and protocols... 10.5 appears to have ;broken',a number of file transfer protocols and Apps... (Wired and KDX are two that come to mind- precisely the same symptoms, AND some others) Apple's own 'built-in' FTP appears OK Mac-Mac, oddly enough.
There's obviously some kind of weird Copy-Paste problem too.
It's obviously 'fixable' or a workaround is available because several s/w mobs have released 'fixes for 10.5 file transfer Bug'
The rest of us will just have to wait while another unannounced,unacknowledged, gaping hole in the Mac OS is quietly fixed and our expensive s/w sits unusable...
Not really good enough, is it ?
Like: Not being able to automatically detect a part file transfer on FTP and Auto-resume from whence you left off: something we thought was pretty cool- back in about 1984.... and absolutely essential in 86 or so.
Boris:You will almost certainly find that it happens whatever the client-server server setup and applications or Medium... I've seen precisely what you describe happen with Airport, Cable, 10/100/1000' local' LAN...
- and watching your throughput drop from 300K to 300 BYTES/Sec is NO FUN.
I've spent a lot of time and money convincing potential 'Switchers' of the superiority of the Mac way over the last 20 years or so...
I'm getting pretty tired at defending the indefensible: 'SkoolBoy Misstakes' in a 24 year old 'superior Computer.- Not Good enough, Apple. -
Problem with FTP Adapter in creating a new Folder
Hi all,
I have a requirement in which a BPEL process shud create a folder named as sysdate dynamically and write a
CSV file into that.(ex: PO/2010-03-09/PO_1.csv).I created a header variable for Oubound FTP adapter and
passing the file directory as concat('PO/',xp20:current-date(),'/') to outbound header directory variable.Problem is FTP
adapter is not creating the sysdate folder its says:1.check u have privileges 2.file name is too long....Blah....Blah.
But i have all the privileges for that user.If i manually create the sysdate folder the FTP adapter is placing the CSV
file.The same works fine with file adapter...but i need to use FTP since the FTP server can change in future.Seems to
be a problem with FTP adapter....can some one help.
Iam using SOA 10.1.3.4
Regards,
Edited by: 0racler on Mar 9, 2010 4:46 AM
Edited by: 0racler on Mar 9, 2010 5:49 AMany thoughts????
-
Problem in FTP adapter ( Duplicate)
Hi all,
We have a composite that query the events from Oracle on demand CRM. Event contains key column which is used to fetch all related values.
Using FTP adapter, we are placing the file in SAP and also one copy using file adapter in our local server for our reference.
Problem :
SAP is receiving two files in their inbound folder at same time stamp for one transaction.
But in our local server, we are receiving one file only.
So we isolated the problem to FTP adapter.
When we analyzed the process and its audit trail, everything looks fine and FTP operation is called one time only.
We are clueless regarding this problem.
Also same interface works well in Production instance. We even tried deploying new composite that is freshly downloaded from Production.
We need this to fix this by Wednesday as UAT begins in Test environment and that needs this interface to work fine.
We have clustered environment and 2 SOA servers.
Please someone help us identifying the problem. Its very urgent
Thanks,
SundarHi it may be the problem with the environment. Try adding the property <property name ="singleton">true</property name> in the composite.xml for the FTP adapter or at the server level.
Swami -
Problem with FTP put operation..??
hi frendz,
i'm facing some problem with FTP put operation. The Get operation(reading a file) is working fine. i'm using Apache FTP server.FTP User is having all read/write permissions. When i putthe file using FTP command prompt then its working fine. But using BPEL/FTP adapter put operation is not working.
Main thing is its not giving any error but When i check the directory then i dont fine any file ther. In fact BPEL process is detecting directory where i'm going to write the file. But after completing the BPEL process i dont get any file.
i am using opaque fomat. n just passing some data into input string which i'm assigning to <invoke>'s variable.
Thanks a lot
-MishitError itself indicates the potential issues -
Please ensure
1. Specified remote output Dir has write permission
2. Output filename has not exceeded the max chararters allowed by the OS and
3. Remote File System has enough spaceRegards,
Anuj -
FTP/SSL Connection Problem for FTP Receiver Adapter
Hello All,
We are trying to establish an FTPS/SSL connection with one of our customers from our XI(Unix) system, and are receive following error:
<b>iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier</b>
Communication Channel Parameters:
Connection Security: FTP (FTP Using SSL/TLS) for Control Connection or FTP (FTP Using SSL/TLS) for Control Connection and Data Connection
Command Order: AUTH TLS, USER, PASS, PBSZ, PROT
Checkbox - Use X.509 Certificate.... checked (Certificate was provided by third party (customer issued) and uploaded to service_ssl certificate store on J2EE server)
Data Connection: Passive
Port: 10021
Keystore: service_ssl
X.509 Certificate & Private Key: ssl-credentials
Note: Initial handshaking occurs but connection is being dropped by the third party FTP Server when SSL certificate credentials are being validated. We also tried connecting to the third party FTPS server using standard FTPS client(FileZilla software), this connection gets established successfully with no certificate issues which means certificate and third party FTP Server is functioning correctly.
We therefore are thinking that the problem lies with our XI system being unable to load the certificate information correctly at the point when FTPS session is being established.
Your help and suggestions will be greatly appreciated.
Thanks and Best Regards
Prashant RajaniHello All,
Further in order to test connection set up and communication channel configuration we tried simulating the FTP connection locally by configuring FTP Server using FileZilla at a local machine and accessed it from Client's XI Server.
This set up simulates the problem we encounter with our customer's FTP Server.
If connection security parameter in communication channel for Sender FTP Adapter is set to <b>"FTPs( FTP Using SSL/TLS) with Control Connection" only</b>, file gets successfully created with data at the FTP server but as soon as we switch the connection security parameter to <b>"FTPs( FTP Using SSL/TLS) with Control and Data Connection"</b>, we receive error "Certificate rejected by Chain Verifier". The initial handshaking happens successfully and file gets created at the FTP Server but its empty, connection fails when attempt is made to write data into file and we end up with said error thereby closing the connection.
This is what the FTP (FileZilla) sees when the XI system attempts to set-up a fully encrypted data (FTPS) connection i.e., connection security parameter value as<b>"FTPs( FTP Using SSL/TLS) with Control and Data Connection"</b> :-
- (not logged in) (10.18.106.34)> Connected, sending welcome message...
- (not logged in) (10.18.106.34)> 220-FileZilla Server version 0.9.18 beta
- (not logged in) (10.18.106.34)> 220-written by Tim Kosse ([email protected])
- (not logged in) (10.18.106.34)> 220 Please visit http://sourceforge.net/projects/filezilla/
- (not logged in) (10.18.106.34)> AUTH TLS
- (not logged in) (10.18.106.34)> 234 Using authentication type TLS
- (not logged in) (10.18.106.34)> SSL connection established
- (not logged in) (10.18.106.34)> USER test
- (not logged in) (10.18.106.34)> 331 Password required for test
- (not logged in) (10.18.106.34)> PASS ***********
- test (10.18.106.34)> 230 Logged on
- test (10.18.106.34)> PBSZ 0
- test (10.18.106.34)> 200 PBSZ=0
- test (10.18.106.34)> PROT P
- test (10.18.106.34)> 200 Protection level set to P
- test (10.18.106.34)> SYST
- test (10.18.106.34)> 215 UNIX emulated by FileZilla
- test (10.18.106.34)> PWD
- test (10.18.106.34)> 257 "/" is current directory.
- test (10.18.106.34)> CWD /payment/
- test (10.18.106.34)> <b>250 CWD successful. "/payment" is current directory.</b>- test (10.18.106.34)> TYPE I
- test (10.18.106.34)> 200 Type set to I
- test (10.18.106.34)> PASV
- test (10.18.106.34)> <b>227 Entering Passive Mode (10,27,7,103,15,63)</b>- test (10.18.106.34)> STOR BHPDSB20060911-153840-834.txt
- test (10.18.106.34)> <b>150 Connection accepted</b>
- test (10.18.106.34)> <b>Data connection SSL warning: SSL3 alert read: fatal: bad certificate</b>
- test (10.18.106.34)> <b>Data connection SSL warning: SSL_accept: failed in SSLv3 read client certificate A</b>- test (10.18.106.34)> <b>Data connection SSL warning: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate</b>- test (10.18.106.34)> <b>Data connection SSL warning: error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure</b>- test (10.18.106.34)> <b>426 Connection closed; transfer aborted.</b>- test (10.18.106.34)> QUIT
- test (10.18.106.34)> 221 Goodbye
- test (10.18.106.34)> SSL connection established
Please suggest your valuable inputs if we are missing out something. Any helpful inputs in this regard is highly appreciated.
Thanks and Best Regards
Prashant -
Problems with FTP connection in Dreamweaver 4
I hope someone can help me with the following:
Since recently I can only connect to the FTP host within
Dreamweaver once a day.
I have two defined sites in my Dreamweaver 4 and before I
could connect several times a day both sites - no problem.
But now it connects once and then when either trying to
connect to the other defined site or perhaps a while later to the
first site again (where I connected well on the same day already) I
am getting the error message: 'FTP error - connection to the host
cannot be madet'.
Basically it will now always only connect daily once.
Anyone any idea what is causing this?
Many thanks for your help.These issues are most often associated with your firewall.
Please try
disabling it altogether.
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14834&sliceId=2
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"NicknamecomputerABC" <[email protected]>
wrote in message
news:g5f3d6$4p1$[email protected]..
>I am using Windows XP.
>
> Am using passive FTP (this is ticked, when the
connection works)
> but also tried unticking it, still the same error
message.
>
> Yes, contacted my host.
> Actually just changed hosts and the previous one, where
the same problem
> started a while back, didn't help, mentioned something
like, that's the
> 'limitation in Dreamweaver' --- though this doesn't make
any sense, I
> think,
> as it did work before for years?
> Contacted also my new host, slightly more willing to
help, had me check
> several things (also running "command" to see whether I
connect to their
> server, and I did.
>
> Am using a AVM FritzBox (but also used that one when it
all worked without
> problems), it has also now FTP enabled i.e allowing port
21.
>
> What I find so strange is that it does connect, just not
more than once
> a
> day any longer,
> so the settings must be right.
>
> I am using AVG antivirus, but also tried to not using
it, or not using
> their
> shield (firewall) but still the same.
>
> I have also tested a third party FTP client (FileZilla)
but there I am
> getting
> the following message:
> Status: Connection established, waiting for welcome
message...
> Error: Could not connect to server
>
> So cannot even connect with FileZilla once.
>
> Not sure where I can see the FTP log window? (Or is this
the message above
> from FileZilla?
>
>
> Many thanks for your assistance.
>
> -
Problems with ftp on Windows Server 2012
Hi all,
We just setup a new server running 2012. I ran into a problem while trying to move over/recreate some of our exisiting jobs that run on the task scheduler on a Windows 2003 Server box.
One job in particular, logs into another local machine, deletes a file and copies a replacement file - this has worked for years. When I tried to get it to work on the 2012 machine, it would hang at the copy statement. I am thinking it has something
to do with the firewall since I found this error in the server log and the times are about the same times I kept trying this:
Inbound notifications are not enabled
Application Path: C:\windows\system32\ftp.exe
I have no idea what to change. We just need the script below to log into the machine, delete the existing file, then copy the new version of the file. The size of the file I am testing with is 2k, so the size is not an issue. Also, I tried
this in a command line and it froze at the copy statement - so that is how I realized where the problem was. The bat file resides in the same folder on the server as the file to be copied.
When running this in a dos prompt, I get a return code of "425 Not able to open data connection." after a long period.
Any and all help is appreciated.
The entire bat file contains:
open 10.10.10.47
userid
password
cd /mpl
del boatemp.txt
put boatemp.txt
quitOk, so please try to restart the FTP Server as on 2012 machine sometimes Firewall rules may not be enabled untill restart is performed.
Then ensure FTP Server is allowed for the 'profile' that your network card has been allocated
Run firewall.cpl and go to Allow an app or feature through Windows Firewall.
Make sure the FTP Server is allowed for the 'profile' that has been assigned to your network card.
In incoming Rules check if FTP rules are enabled (21 port, passive port and SFTP port)
If yes and you do not see anything unusuall, check you can connect to FTP if you disable firewall.
Did my post help you or make you laugh? Don't forget to click the Helpful vote :) If I answered your question please mark my post as an Answer. -
I am running OS 10.7.5 on a Macbook. Problems with ftp upload
I am running OS 10.7.5 on a Macbook. I am trying to upload to an ftp server. The connection is established with no problem but any attempt to upload files times out. This is an intermittent problem. I have been using fetch as an ftp client quuite successfully for a long time. The problem starts when there is trouble with the broadband connection. The ftp upload then falls over. I have managed to re-establish it in the past by setting up the connections from scratch. This has not worked this time. The same thing happens with two other clients that I have, so it is not specifically related to fetch. I can uplad files from PC's and by using my iphone's 3g connection as a personal hotspot. The problem seems to lie with the way the macs (the same thing happens on an older mac also running OSX) communicate with the router. I have tried with and without passive mode.
Please can anyone help. It is driving me to distraction.
Oh and I have just downloaded the latest security update.For anyone else with the same problem.
My husband discovered the problem is with the MTU, maximum transmission unit . This article describes the problem and solution very clearly
http://www.macgurulounge.com/manually-managing-mtu-size-in-mac-os-x/
Our router was running at 1492 and the mac at 1500. I found that resetting to 1400 cured the problem.
I hope this is helpful to other folk having the same problem -
Hi All,
I have configured a simple sender file communication channel (with sender agreement). The error I get in CC Monitoring is
<b>Could not process file 'test.xml': com.sap.aii.adapter.file.ftp.FTPEx: 550 jai/: No such file or directory.</b>
The problem here is Adapter says no file "test.xml" found, but I have specified the file name as *.xml and as expected my ftp channel should pick "test.xml".
P.S: With the receiver file adapter, I can write a new file into the same path.
Kindly let me know your valuable inputs...
Thanks,
Jai Shankar.Shabz,
I tried /jai as in your weblog, but I get the error msg
<b> An error occurred while connecting to the FTP server '10.252.1.28:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 /jai: No such file or directory.'. For details, contact your FTP server vendor.</b>
I have the ftp path located in SUN SOLARIS OS. Is the format a OS dependent?
P.S: When I use this format,I am not getting the file name in error msg.
@ Bhavesh,
I tried 777 mode for the file. Still the error.
<b>Could not process file 'test.xml': com.sap.aii.adapter.file.ftp.FTPEx: 550 jai/: No such file or directory.</b>
What could have gone wrong here?
Thanks,
Jai Shankar -
I've set up my FTP site and it works perfectly since the past two years with WSFTP on PC
Now, I have a Mac book And I'm unable to connect to my FTP server with the @connect to server@ link in the finder
I run OSX Server 10.3.9 PLZ help... It's kind of unusual to have a problem from mac to mac and no problems from pc to mac...You could try to upgrade the router's firmware. Use for new firmware is to fix bugs that have been discovered with the router. Try to download here. That would link you to Linksys download page for new firmware of a version 2 BEFW11S4.
-
10.3.9 problems with FTP server - port not open?
I have set up the ftp server in MacOSX Server 10.3.9 and I think the configuration is correct, but I am unable to access it from a client. When I check the open ports on the server from the client (running 10.4.10), ports 20 and 21 are not open, even though the firewall is not running. How do I open these ports, or start the server listening on them? The FTP server is running as far as Server Admin is concerned, although I have to say that I can't see a process in Activity Monitor with ftp in its name.
I think I might have got a bit farther with this problem, but this just gets me nearer to the problem, not to a solution.
When I stop the ftp service I get an error message in the console that says:
server servermgr_ftp: ftp config:Error:Unable to hup xinetd - pid file shows pid='(null)'
I believe that this means that Server Admin has tried to get xinetd to read its config file but since xinetd is not running (and hence no pid is available) it is unable to do this.
If I try and start xinetd from the terminal I get the following error message:
server xinetd[5484]: bind failed (Permission denied (errno = 13)). service = ftp
server xinetd[5484]: 5484 {init_services} no services. Exiting...
I now know that xinetd is the process that (amongst other things) listens on port 20-21 for an attempt to establish an ftp session and then launches ftpd to service that connection. At least I think that is how it works! Or should work... -
My noob problem? FTP to Database.
Hello guys, i'm new to oracle database environment where my friend persuade me to give it a try. I'm interested in xml database but having problem setup the cmsxdb sample. I currently stuck at ftp to Oracle XML DB repository where i need to run this syntax:
ftp> open <dbhostname> 2100
in my case i run:
ftp> open localhost 2100
but an error came out show:
ftp: connect: Unknown Error Numberi also try this for unknown reason but no avail:
ftp> open localhost 8080
Connected to feed06v5.
Connection closed by remote host.
Sorry about this noob question. I seem just don't get it. What is dbhostname should be?. Any guidance is appreciated.
my oracle info is:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Productionthe listener has started shown below:
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-SEP-2007 14:36
:36
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
the status of the listener is:
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 19-SEP-2007 13:29:50
Uptime 0 days 1 hr. 7 min. 26 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File D:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File D:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=feed06v5)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=feed06v5)(PORT=8080))(Presentation=H
TTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
but i haven't set the port of http and ftp yet. How can i do so?. I will try to find some guidance... but if u could guide me its awesome. :D -
Hi,
I am fairly new to Dreamweaver and we recently decided to
bring control of our website in house (we are a NPO).
I managed to download our organizations existing website
using the FTP connection in Dreamweaver. Everything went great -
and I started editing one of our pages. As a test I made a small
change and then uploaded the new page (again through FTP) to the
hosting site. It worked fine. Here's where the problems begin - I
decided to continue editing the page (in the local view not the
remote view) and when I was finished tried to upload it exactly the
same way i had done before. Suddenly it was telling me I was no
longer connected. For 2 hours i retried and tried and tried to get
the connection to re-establish - including shutting down
dreamweaver, rebooting my computer etc etc. Nothing worked. My
collegue who is also working on this project with me experienced
the EXACT same problem when she tried on her computer... first
upload is successful but any additional ones don't work. What's
more when you then went to view the actual page in IE (or Firefox)
the page was distorted - only some of the page appeared. The first
time we were missing the flash bar, the second time none of the
pictures showed up etc. In addition i used Link Checker and 66 out
of 80 links were broken (they had not been broken the first time
the page successfully uploaded).
I am very baffled by this whole situation. Does anyone have
any advice?? Do you think this is a Dreamweaver problem or perhaps
something entirely different? In the end I had to go directly to
our hosting site and re-upload an the old page from a burned CD.
Thanks!What happens if you use different FTP software?
I've never used the file transfer part of DW, since the IT
staff where I work only allows ONE specific program to have access
to the server, and they set the access parameters so the program
only allows each user upload or download access to their particular
program area
Depending on your server's security settings, you might try
other software to see if it works... yes, it is a bit of a PITA to
have to jump from DW to a different program... but, whatever
works -
LAMP + FTP problem, specifically FTP
Okay, so I'm setting up a home server for me and some friends.
I set up FTP and only want my friends to have access to their specific directory. How can I accomplish this?
Example (Usernames removed): I have the following directories:
/srv/ftp/user1
/srv/ftp/user2
/srv/ftp/user3
Each user can access, upload, and remove files from one anothers folders. Why?
Here is my /etc/vsftpd.conf file:
anonymous_enable=NO
local_enable=YES
write_enable=YES
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
chroot_local_user=YES
guest_enable=YES
guest_username=virtual
listen=YES
listen_port=21
virtual_use_local_privs=YES
pam_service_name=ftp
When I add the following two lines:
local_root=/srv/ftp/$USER
user_sub_token=$USER
I can not get into the FTP at all with any username.
If I add the following line instead:
user_config_dir=/etc/vsftpd/vusers
This should happen:
I have a seperate folder (/vsftpd) that has the following structure:
vsftpd_login.db
vusers
--user1
--user2
--user3
and each user file has the following in it:
write_enable=YES
anon_mkdir_write_enable=YES
anon_other_write_enable=YES
anon_upload_enable=YES
local_root=/srv/ftp/(USERNAMEISHERE)
chroot_local_user=YES
dirlist_enable=YES
download_enable=YES
guest_username=virtual
But it doesn't, same problem as if I'm using this code:
local_root=/srv/ftp/$USER
user_sub_token=$USER
What's going on here?True! When you are using a virtual users, file system permissions will not help you much. So the only choice is to chroot everybody based on the virtual username, which is exactly what you try to do there with the local_root.
So I took some time to actually test what is the problem and build ftp with exact same setup and this is what I ran into.
$ ftp localhost
ftp: connect to address ::1: Connection refused
ftp: Trying 127.0.0.1 ...
Connected to localhost.localdomain.
220 (vsFTPd 2.3.5)
Name (localhost.localdomain:n-a-g-r-o-m): user
331 Please specify the password.
Password:
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
ftp: Login failed.
They actually tell what is causing that in the troubleshooting section (in the very end) of https://wiki.archlinux.org/index.php/Ve … FTP_Daemon, so I gave it a try and after doing
chmod a-w /srv/ftp/user/
I can actually login to the ftp now.
I have to say that it's not really nice to disallow users to write to their own root, but maybe you can hide this inconvenience by creating folder "personal" where they can write and "public" where you will just put something to make it look like it's by design OR you can try the vsftpd-ext.
I hope this helps even a bit.
Maybe you are looking for
-
How to refresh the data in a container and to update the new data
Hi, I have created a Module Pool Program in which i have two containers to display the long text. Initially this container is filled and based on some condition i want to update the text in the same conatiner. I am using the below two classes to do a
-
Mail account deleted and lost emails
It happens, especially just switching from MS windows. Maybe the warning just unreadable as any other dialog box. And if I read some forums, this problem is always happen, why did the developers of Mail.app do nothing with it? Can anyone recommended
-
Step 2 of verification is impossible to complete
I was migrated yesterday but I can't finish setting up my BT ID. Step 1 is ok, it happily uses my btinternet email address. At step 2 I get a message 'We can see that the BT ID username you have chosen is also a myBT username. Enter your password to
-
Query in mapping process....
can i do the query in mapping process 4 dimensions or cubes??? using which pallete??? n how 2 use it with my own queries??? thx guyz....
-
Urgent Question about System Center Server Names and Dashes
Hey guys I have a quick Urgent question that would be awesome if it happens to get answered quickly :). So in the past we had problems with different server names in components of System Center when setting up different servers.... I never myself sa