Accessing FTP Server using a specific IP Address - ftp

I want to access a FTP Server, that is firewall protected meaning only IP addresses that have been added to the safe list may access the FTP file.
And The IP address of my website has been added to the safe list of the firewall.
I am using Filezilla to connect to it, but it is not allowing me to connect to the FTP server since my PC has a different IP.
Please suggest me a way to connect to the FTP server.
Thanks In advance....

If you can ssh/telnet into your host, then you could use the command line ftp.
Another option is to use a web-based ftp client that is installed on your web server (such as http://www.phpwebftp.com/ if you have PHP).

Run an ftp client on the allowed server; or, persuade the ftp admin to add your PC's IP address to the whitelist, and ensure and/or pray that it doesn't change (maybe pay your ISP extra for a static IP); or, use a proxy on an authorized server. The first option is definitely the most painless, assuming you have shell access to your web server (and if not, what sense does it make to have it on the authorized list?)
Some popular command-line clients you might find installed on the server include ftp (sic), ncftp, curl, wget, lynx, and w3m. The last two are actually terminal-based text-only web browsers.

If you have shell access to your server, you could create a SSH-tunnel like this:
ssh user#example.org -L 21:127.0.0.1:21
then you can connect to the FTP-server using localhost:21 from your pc.
http://www.debianadmin.com/howto-use-ssh-local-and-remote-port-forwarding.html

Related

Can I host mcpe server on a ftp/cpanel account?

I have been interested in making my own MCPE server. I have found lots of online hosting websites. All of these sound great, but I want to know if there is a way to host an MCPE server on a ftp account. Thanks everyone.
You can't host a MCPE server using a FTP account because the host will terminate the task.
You can host your own MCPE server using PocketMine-MP from your computer (See here for more info).
Otherwise you can use a VPS or Minecraft host that supports PocketMine-MP, e.g. Aternos or HostHorde.
EDIT: You may need to port forward your router if you want to host a PocketMine-MP server from your computer.
Without some form of shell access this is impossible (I'm assuming by "FTP access" you mean it's a host for only "websites" and not some sort of VPS).
Even if you managed to get the executable running I imagine your host would squash that very quickly.

How to convert FTP server to secure SFTP on Amazon EC2

I have FTP server on Amazon EC2 which I can access by giving this URL: ftp.websitename.com:4522
after that username and password to accessing the files from this location.
Now I want to convert into secure FTP like if I will give sftp.websitename.com:4522 then it will ask me for username and password and allow me to login into the application.
First of all is this possible?
I tried below instructions for installing vsftd1 vsftd2 but didn't help me.
after doing the changes into this two link I tried to login through WinSCP and selected file protocol as SFTP and typed ftp.websitename.com, in port number 4522 and given username and password but didn't allowed me to log in.
edit 1 :
i have my amazon ec2 instance in centos 64bit.
someone else set-up the ftp connection and now i am taking forward from that point,i will get all the details and will try to modify my question in more specific way.
You didn't specify, what OS are you running. But from a reference to vsftpd, I assume some *nix flavor. You didn't specify, what FTP server you have running, and how did you set it up. Your question is pretty vague. But I'll try to give some hints.
The vsftpd is an FTP server only. It does not support the SFTP. It supports the FTPS (FTP over TLS) though. Do not get confused by its name. While the vsftpd stands for "very secure FTP daemon", it just means, it aims to implement FTP securely, not that it implements the SFTP".
Note that virtually all *nix servers come with an SSH/SFTP server built-in (OpenSSH). It runs on port 22.
For instructions how to connect to the EC2 SFTP server with WinSCP, see (my) guide:
Connecting Securely to Amazon EC2 Server with SFTP.
Also make sure you understand the difference between the SFTP and the FTPS.

Can you use FTP with Google Compute?

Hey I'm just wondering if there is a way to setup a regular FTP server on Google Compute. SFTP works, but I'm migrating from a physical server to google, and already have 100's of regular FTP users. I would rather not have to get them all to switch to SFTP if I don't have to. (I would like to do that long-term, but I don't want to break all of their connections when I migrate.)
Yes, you can use FTP. You must
Install an FTP server
Open port 21 & a range of higher ports, eg 49152-65534.
Configure the FTP server to use the port range from (2) for Passive FTP
Configure the FTP server for your users/destinations.
That said FTP is a very insecure protocol. Migrating to SFTP is very important for your users' security.

Transfer Files To VPS Using FTP

I Just Got A Free VPS From Upcloud.com
It has VNC Preinstalled, 2 GB Ram, 1 Core Cpu.
I Just Installed PHP and mySQL.
My Vps Ip
http://83.136.252.156/
How do I upload with ftp files to:
/var/www
?
Nooooo!
Don't use that protocol left over from the 70th! It is a nightmare for all firewall administrators.
Use the ssh server instead which you undoubtedly already used for other purposes:
the ssh server offers sub protocols, namely scp and sftp.
You can use sftp from the command line, many modern ftp clients also support this more advanced protocol too. And you don't have to install and configure an additional ftp server which can be painful. And you get strong encryption of your credentials as well.
There are many manuals out there in the internet.
Create yourself a key (much more safe and convenient than using passwords) and go!
upload your files through ftp client called 'Filezilla' or if you have upload facility through control panel itself then well upload from their itself. Create FTP from your control panel and Download filezilla and install it locally on your system and upload by connecting to your server using following details like Host, Username, Password and Port.
But i suggest not to go with free hosting services where they are used one and would have changes to spam access more. Anyhow if your looking for some best and cheap vps hosting services than will suggest for my datacenter provider, which is TRIJIT.

How I can access FTP server based on different network

I have set up a FTP server with Apache FTP server on local machine, this machine can access internet but its IP address cannot be accessed externally.
I also have another machine in a different city - it can access the internet but it is same in that its IP address cannot be accessed externally. The two computers are not on the same network so they are unable ping each other.
How I can use FTP client from another machine to access the FTP server, I know it should be impossible but do you guys have any workarounds (whatever code change or other approaches)
I am in the US - do you guys have idea how I can make my home IP publicly accessible?
it is very possible if you control the firewall that the server is behind. this is standard network configuration, and you can find hundreds of tutorials online, but the most important bit of information is the firewall, not the ftp server. you configure port forwarding on your firewall to forward incoming ftp requests to your internal ftp server. also, you will want to use "passive" ftp from the client because the client is also behind a firewall.

Resources