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.
Related
I've put the database and files on separate servers (because I've set up 3 servers for our web application and use the load balancer for them) and I use SFTP for filestorage driver.
Because I've used the SFTP driver for Laravel file storage, the SSH connection to the destination server will increase and the SSH port will be block and the files cannot load from the storage server.
What should I do? is there any other solution to load files from another server?
I recommend using a cloud storage for this usecase, in which one can set the CORS settings. You could for instance use aws s3 for this or use digital ocean spaces which has a similiar api to s3.
You basically post your to that cloud server and save the url to your database.
Of course you need to set of the cors settings, to basically say that server x can access specific files on the cloud storage.
I need to know about ftp server connection using File Zilla Server.I want to transfer files from client machine to server and later i want to download it from server.I have installed ftp server in my windows machine and i did settings like username,password,location directory.Then ftp server got connected,then after a moment or sometime ftp server is disconnected.
I cant able to change settings while it is in disconnecting stage.if i need connection back then i need to reinstall File Zilla Server and make necessary changes in settings ,then it will get connect again. Often i cant do this reinstallation.Please help me step by step process to setup file Zilla Server and how to connect server through the client machine using ip address
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.
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)
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.