Can I use filezilla to transfer files into WAMP - wamp

I am using WAMP as my local server and what I want to know is can I use filezilla to transfer my files across from my documents to the WAMP server?
If so how can this be done in filezilla, (what do I need to put in host name and do I need a username or password, I did not set one so do I need to set one and if so how?).
Thank You

You don't need FileZilla for what you are after. You simply need to move your files from My Documents to the www directory of your Wamp installation. You can then point your URL at that file. So if you have a file foobar.php and drag it into www then you can access it at http://localhost/foobar.php.

Related

How to setup ftp in django

Right now I am storing the uploaded images in local path, so I want to create one FTP server where I can store all my images so that others who are accessing my API can access the uploaded images also
I am not understanding where to start and how to create an FTP server
my model:
class Resized_image(models.Model): image = models.ImageField(
upload_to=datetime.strftime(datetime.now(), "photos/%Y/%m/%d"), width_field='width', height_field='height', )
here i am specifying the local path to store uploaded images
I want to create an ftp server with uploads/ folder so that whatever the images I have uploaded using any server will be stored inside that uploads/ folder in ftp server
I think you are confusing the need for storing files, and FTP Service.
From what you have mentioned you have a Django app, which you want to store images.
If you can upgrade/add storage to the server that you are currently using, you do not need an FTP Server.
If you can not add storage to the server where the FTP Server is running, then consider other network based storage. Cloud, AWS....
If you still can not find any storage - then reluctantly (and I mean really reluctantly) consider ftp.
Why ?
It is a security nightmare.
It will create more problems than it solves
You should create users and password
People will forget these, and you will spend your life resetting them
all connections are easy to hack (un-encrypted communication channel to pass credentials)
For FTP - on Windows, it is built in to IIS. For Linux, you will need to add an FTP Server.

Django - Access and save files to remote server

I am currently developping an application using Django.
What I'm trying to achieve is to have a remote server that will host configuration files. Those files are going to be numerous but quite small.
The configuration of my server is the following : on the adress 172.x.x.51 I have my Django app running with uwsgi and on 172.x.x.52 I have my nginx service connected to my uwsgi instance.
What I would like is to host the files on the nginx server.
Inside the application, I will need to access to the files and to save them (they are calculated from data from the database, so there's no need for a fileupload).
I looked on the documentation and found that I can use a Custom Storage System. The thing is, I don't think that's what I need because I want to store them the way it's done by default. I would just like to define the place where the files should be updated from Django.
Would it be better if I stored them in the media folder on my nginx instance ? How would I say to Django to go look on nginx's instance for the files ? On the server where nginx is hosted, I already host my static files and it's working.
This isn't a question about Django really. Storage backends are for file uploads, but as you say you're not doing that.
You need some way of allowing your Django instance on *.51 write to your nginx server on *.52. This might be via SSH/SCP, or by sharing directories over NFS, for example. Then you can simply save the files over that protocol to the relevant place, from where nginx can serve them.

How to find out my host for fileZilla?

I just bought a new domain and now i want to upload files there.
I am trying to use FileZilla and it asks me for Host,Username,Password and Port.
Now in Username and Password i have tried typing the same things i typed in GoDaddy.com, but now i do not know what to type in Host and Port.
By the way are there any other easier and free ways to upload files to my website?
Have you bought a domain or some kind of hosting service?
A domain is only a name, you cannot host files there.
FileZilla should be very easy to use once set up, so that's not going to be your issue.

How to put a website online

As i have installed WAMP developer Pro recently and i have solved everything that it needed but the main problem is coming which is most important , i am unable to put my website online as i have made a url from WAMP developer and i have putted my all website file in it it is working fine in my as i type www.radharamnji.com it comes but other can not see it so please tell me how i can make it online so everyone can see it.
here is a pic of WAMP developer
If You Have A Website and domain You Have To Upload All Of Your Files To Host Public_html Folder.
If You Want to change your computer to a server you have to buy a valid IP and set dns settings and ...
If You Upload Your Files On The Internet YOu Have Too Change Your Adrress to Relative.
For Example Change The Adrress Of Picture From (http:/localhost/img/img1.jpg) To (img/img1.jpg).
The WAMP you are using has a guide for this located on its site's /howto section: "Enabling Online and Internet Access of Websites...".
Chances are:
Your Windows Firewall (and also anti-virus s/w such as McAfee) are blocking incoming port 80 and 443 TCP connections, and the httpd.exe process.
Your Router does not have any port-forwarding set up for WAN:80 to LAN:80.

List files in a remote folder given the URL

I have a questions, and I would love you to try to answer it.
Is it possible to get the list of files from a remote folder in java, knowing just the URL???
for example:
http://localhost/img get all the images names in this directory.
Thanks in advance
When you are talking about a remote folder, it depends on how you are accessing it.
If it is via a network share, such as \localhost\mypath AND you have access to browse the files, you will be able to do so, just like you would with a local directory.
However, if you are trying to browse a directory on a web server, the web server would have to give you directory browsing ability for you to work with it.