Comments (6)
Hi, there is an event named Request
(and a lot of other events) in the FtpClient
class. You can subscribe to them and see the issued commands.
Let me know if you need some help.
from ftp.
Hello,
Wow, very fast reply. I used the events you suggested and got this
Reply:220 WARNING: Unauthorized access to this system is forbidden and will be prosecuted by law. By accessing this system, you agree that your actions may be monitored if unauthorized usage is suspected.
Request:AUTH TLS
Reply:234 AUTH command ok. Expecting TLS Negotiation.
Request:USER ***
Reply:331 Password required
Request:PASS ****
Reply:230 Welcome to the FTP Server of ****, User logged in.
Request:FEAT
Reply:211 Extended features supported:, LANG EN, UTF8, AUTH TLS;TLS-C;SSL;TLS-P;, PBSZ, PROT C;P;, CCC, HOST, SIZE, MDTM, REST STREAM, END
Request:PBSZ 0
Reply:200 PBSZ command successful.
Request:PROT P
Reply:200 PROT command successful.
Request:TYPE I
Reply:200 Type set to I.
Request:PORT 10,60,8,101,228,170
Reply:501 Server cannot accept argument.
I'm guessing here, but my current thinking is that this is a local network configuration issue. They changed the server and they might have forgotten some networking config in a firewall somewhere.
Thanks for the quick assist.
from ftp.
Apparently you are using active connections, which work only if your client has a public IP that the server can reach. Otherwise, you should stick to passive transfers (FtpClientParameters.Passive=true
).
from ftp.
You are right, I recheck previous code and the server requires passive to be true. I must have changed that while testing. unfortunately it just gives me another error:
Reply:220 WARNING: Unauthorized access to this system is forbidden and will be prosecuted by law. By accessing this system, you agree that your actions may be monitored if unauthorized usage is suspected.
Request:AUTH TLS
Reply:234 AUTH command ok. Expecting TLS Negotiation.
Request:USER ***
Reply:331 Password required
Request:PASS ****
Reply:230 Welcome to the FTP Server of IT-Workz, User logged in.
Request:FEAT
Reply:211 Extended features supported:, LANG EN*, UTF8, AUTH TLS;TLS-C;SSL;TLS-P;, PBSZ, PROT C;P;, CCC, HOST, SIZE, MDTM, REST STREAM, END
Request:PBSZ 0
Reply:200 PBSZ command successful.
Request:PROT P
Reply:200 PROT command successful.
Request:TYPE I
Reply:200 Type set to I.
Request:PASV
Reply:227 Entering Passive Mode (,,127,18,19,160).
Exception thrown: 'ArxOne.Ftp.Exceptions.FtpTransportException
Socket error to ..127.18
I can reach the server from local desktop, but I'm debugging on a remote server. On the remote server also cannot connect using filezilla. Should have tested that first :(. So must be a local network problem. Thanks again for the support.
p.s. It worked before and only started to malfunction after server upgrade to use TLS, the admins over here must have made a mistake.
from ftp.
Not sure it's their fault, unfortunately. We had trouble with FileZilla server and I never really understood why. If you have time for tests and fix, you are welcome :)
from ftp.
Sorry, must be a translation error. We are mostly doing development work on remote desktops/machines (rdp) over here. So server and client lines get blurred somewhere sometimes. I was referring to testing with the filezilla client on local and on a remote machine, and then connecting to the same Microsoft ftp server. We are not using FileZilla server so I cannot help diagnose that. I have now verified that the code works on local but not remote clients. That means fire walling somewhere. So you are not saving our network guys :) from work :)
from ftp.
Related Issues (20)
- Error parsing Modify fact of Mlsd HOT 1
- Download/Retr File HOT 5
- [Question] Resume File Download HOT 1
- FileZilla and STAT command HOT 3
- A call to SSPI failed HOT 24
- FtpS and FtpES connections do not necessarily secure data sockets HOT 6
- ThreadInterruptedException' in mscorlib.dll. Doesnt crash but dont know why it happens. HOT 6
- ArxOne.Ftp.Exceptions.FtpFileException: File error. Code=550 HOT 2
- FTPS with TLS not working HOT 4
- File Date parsing is wrong HOT 1
- Retrive .odt files HOT 2
- MVS-z/OS FTP server HOT 5
- error 230 on list HOT 2
- Make project compatible with .NET Standard HOT 16
- Package versioning is probably broken HOT 1
- Asynchronous API HOT 4
- library hits session limit on server where filezilla does not. HOT 2
- NuGet package publishing failed HOT 1
- Unix space quoting issues HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ftp.