Can Fiddler download Web Server Log files? - httpresponse

I have to manually upload a file with the browser using a https:// destination.
Now I also need to get the logs from that HTTP server.
I tried around already with Fiddler2 and I do get logs but only from my client.
Is there a way to get the response logs from the HTTP server?
(I need to do this because the party that runs the server would have to setup a VPN tunnel to log my uploads and they do not want to do that)

Related

vsftpd won't allow upload of files via ftps

I'm trying to set up an ftps server where I can upload files securely to a specific folder. I've set up the server and it will upload files just fine on regular, unsecure FTP. However, after I set up an SSL certificate and try to upload a file in FTP-SSL, it logs into the server just fine, but trying to upload a file causes my FTP client to hang without uploading any data until the connection times out. I've tried this on a couple of different systems both inside and outside my local network with the same result.

It is possible to create proxy server on heroku?

I already tried to create a proxy server on heroku using java, python and nodejs but for some reason I can't.
I can only use port 80 so I would need to use the proxy as appname.herokuapp.com:80 but I get the response as "app doesn't exist".
Is this possible or not? Is there any alternative for what I want to do?
The Heroku routing layer routes your http requests based on the Host header it finds in the HTTP request from your client. And if you have your own endpoint, it at least validates that the Host header content is one of your apps' domains.
If you look at this answer you see that the Host header contains the name of the server you are trying to reach through the proxy server, not the proxy itself.
So there is no way you can run a http proxy server on heroku.

Connect to Visual Studio server from remote machine using Fiddler and HTTPS

I am trying to connect to a Visual Studio server from a remote machine using Fiddler and HTTPS. I followed this tutorial (http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/UseFiddlerAsReverseProxy) which works perfectly for HTTP. When I moved my project to HTTPS, the connection stopped working. I have tried several solutions, including:
Proxying HTTPS traffic through Fiddler fails for remote clients?
http://lifelongprogrammer.blogspot.com.au/2014/04/using-fiddler-as-https-reverse-proxy.html
but haven't been able to get it to work. Can someone help?
You haven't explained what happens, but my guess is that your client is trying to do a HTTPS handshake with Fiddler, which is expecting HTTP because you didn't tell it to do anything else.
In Fiddler's QuickExec box, type
!listen 444 FiddlerMachineName
This will create a new HTTPS-accepting endpoint running at https://FiddlerMachineName:444 and Fiddler will perform a HTTPS handshake on all inbound connections. You can then use FiddlerScript to forward requests to the target service.

How to performant connect a FTP Server to a Webdav Server?

I have implemented a webdav directory in PHP using Sabre DAV, for my website (Application Server Webinterface).
For this Website I am writing now an TCP Socket using C#, which is running on another server (actualy it is in the same datacenter, but for theoretical sake, it is on the other hemisphere).
The Socket actualy is a service, which can start and stop applications (gameserver in this case). I also have implemented a FTP Service in this socket too (for data transfer).
My Goal:
I want to connect my Web Dav to the FTP-Server of my socket, which means File Listening, Download, Upload. The usecase should be, that a user only connect to a single service. Imagine, my socket is running on more then one server.
If i would implement this with my current know how, i would do it this way:
User Request Web Dav Directory
Server make a file listening of the FTP Server
The file listening is added dynamicly to the Web Dav Directory
Now the user open the directory, and want to download the file:
Web Dav Server request the file from the Ftp server
Web Dav Server provide the downloaded file
Web Dav Server delete the provided file
On the other direction, the WebDav Server will accept a file, and upload it then to the FTP Server.
If the servers are not in the same datacenter, this cost traffic. Anyway, i think it takes some time, if the data are binrary instead of textbased configs. Also, the client side progress bar will not notice, if the download to the webdav server / upload to the ftp server is processed (the user possible think nothing happens).
I hope i have successful communicated, where my problem is.
So how can I implement this, without delegate an upload/download from one server to another? Is this even possible?
Bonus: Would a solution like WebDav to Webdav or FTP to FTP provide a better way of implementing it?
Easy way to achieve this is to have a third party software like webdrive to map the ftp server contents to a drive letter. Then point the webdav server to this drive. Windows also provides option to map a webdav/ftp URL as a drive letter so that the application can access it as if its a local drive.

FTP: Unable to connect to the remote server

I have a website that I use to upload images to the server and it eventually uploads them to an FTP site from the server. The problem is that it gets part of the way through the transfer - it transfers some of the files and then stops and gives the error
Unable to connect to the remote server
This only happens with 1 ftp server. I have a second ftp server on which this process works fine, so I doubt it's a code issue. What could the issue be?
thanks,
Sachin
Some FTP servers block flood requests, interrupting the connection. You should try using another FTP client and / or compress all the files, send to server and unzip them from the server using SSH or other method available.
Note: Recommend FileZilla client.

Resources