I need a working php ftp script as I cant use upload for my coy server.
I am curious about this piece of code:
ftp_put($conn, "sn.txt", "sn.txt", FTP_ASCII);
How do php knows where "sn.txt" is located? I am using a form where user can browse file and submit to ftp to server. However it doesnt...