Church.exe 2/ago./2017 às 15:52
ftp server using ahk
i have a custom ftp server and i use ahk so is there a way where just by changing the directory i could upload a file to a small home server (im using filezilla to host the server btw and i cant get the filezilla client on the other comps nor can i port forward)
Última edição por Church.exe; 2/ago./2017 às 15:53
< >
Exibindo comentários 115 de 18
Omega 2/ago./2017 às 16:34 
Windows? Linux?

Also what is the question exactly? What are you trying to do?
Última edição por Omega; 2/ago./2017 às 16:35
Church.exe 3/ago./2017 às 2:29 
windows and like i said im trying to be able to upload a file to my home hosted ftp server without having to portforward or download a client
rotNdude 3/ago./2017 às 11:31 
Any good router will block Internet-initiated connections to a computer on your LAN.
Church.exe 3/ago./2017 às 13:03 
then is there a way to at least download a file to my laptop on the same network so i dont have to use a usb or something?
Omega 3/ago./2017 às 13:09 
Escrito originalmente por zans:
then is there a way to at least download a file to my laptop on the same network so i dont have to use a usb or something?
You can probably access the FTP via file explorer > network. Or with the IP in file explorer.

Its been a while since I build a file server.
Church.exe 3/ago./2017 às 13:15 
no my server is on my home comp (but now that i think about it i could make a small one on my laptop)

but maybe not

But if i do then will i need to port forward?
Última edição por rotNdude; 4/ago./2017 às 7:18
Omega 3/ago./2017 às 13:25 
Escrito originalmente por zans:
But if i do then will i need to port forward?
I don't think you need to do port forwarding when you connect directly to the server IP. Be it a virtual server or a actuall server (Cough) old crap PC (Cough).

I always used Debian with Samba for this.
Church.exe 3/ago./2017 às 13:26 
what are those
no meme intended
Omega 3/ago./2017 às 13:28 
Escrito originalmente por zans:
what are those
no meme intended
What are you referring to with "Those"? The the IP or to Debian and Samba?
Última edição por Omega; 3/ago./2017 às 13:28
Church.exe 3/ago./2017 às 13:29 
i know what an ip i mean debian and samba what are those
are they cmd things built into windows or programs (or websites)

wait if i host the ftp from the same network what would i put for IP

since i cant port forward
Última edição por rotNdude; 4/ago./2017 às 7:19
Omega 3/ago./2017 às 13:33 
Debian is a flavour of Linux.
www.debian.org

Samba is a application that allows you to just copy/paste files over from Linux to Windows. Its a standardised protocol or something so that Windows, Linux and Unix machines can communicate between eachother.
www.samba.org
www.howtoforge.com/tutorial/debian-samba-server/
Última edição por Omega; 3/ago./2017 às 13:34
Church.exe 3/ago./2017 às 13:34 
ok i might use those later (when i have the basics working) but what would i put for port?
Omega 3/ago./2017 às 13:38 
Escrito originalmente por zans:
ok i might use those later (when i have the basics working) but what would i put for port?
You don't need to port forward as far as I am aware. Just connect directly to the IP of the server or to the host name.

Just leave it blank.
https://secure.hitdirector.com/knowledgebase/157/FileZilla---How-to-download-files-with-filezilla.html
Church.exe 3/ago./2017 às 13:39 
im hosting the server with file zilla i found a ftp script with ahk and it requires a port here it is


#Include ftp.ahk ; get it at http://www.autohotkey.com/forum/viewtopic.php?p=170587#170587
server := "server", port := "21", ID := "userID", PW := "userPW"

hConnect:=FTP_Open(Server, Port, ID, PW)
Loop, C:\Users\xxx\ftp_test\*.*
{
ufile := A_LoopFileName
FTP_PutFile(hConnect,A_LoopFileFullPath, A_LoopFileName)
}
FTP_CloseSocket(hConnect)
FTP_Close()
return
Omega 3/ago./2017 às 13:42 
Escrito originalmente por zans:
im hosting the server with file zilla i found a ftp script with ahk and it requires a port here it is


#Include ftp.ahk ; get it at http://www.autohotkey.com/forum/viewtopic.php?p=170587#170587
server := "server", port := "21", ID := "userID", PW := "userPW"

hConnect:=FTP_Open(Server, Port, ID, PW)
Loop, C:\Users\xxx\ftp_test\*.*
{
ufile := A_LoopFileName
FTP_PutFile(hConnect,A_LoopFileFullPath, A_LoopFileName)
}
FTP_CloseSocket(hConnect)
FTP_Close()
return
Does not matter to which port you set it. As long as the port is not already in use.

For example Skype uses port 80 so if you have Skype running that port will be unavailable.

Just pick a random port and if it does not work it is already occupied.
< >
Exibindo comentários 115 de 18
Por página: 1530 50

Publicado em: 2/ago./2017 às 15:52
Mensagens: 18