Hello!
I'm new about FTP.
So I build a FTP server in my house, so I simply want to backup my new files from the office to my FTP server that is always online.
This files are scheduled to compress the difference between a "mirror folder". So it is copied, compressed and named according to the date "Backup-2013-09-30.7z", for example.
I just want to upload this file via FTP to my server, but i got a little problem in my office: a Firewall....
The server is running via CesarFTP 0.99 and works fine in LAN. Got a NO-IP address to fix the ip issue.
The server runs in port 2048, that is a unlocked port in my firewall.
Via LAN in my house i'm able to upload files via CoreFTP, FileZilla and ftp.exe from windows, via these commands in a .bat file.
#open servername.no-ip.org 2048
#user
#passord
#quote pasv
#binary
#ls
#cd "Upload"
#lcd "C:\FTP\Upload"
#prompt
#mput *.7z
But in my office, this commands are not working. The login session is established and the transmission of the file begins, but without data transit (0 KB/s).
Filezilla and CoreFTP works fine in the office and the upload works fine over port 2048, showing that it is really unlocked.
As you know, Filezilla is only a GUI program, so as you already think, I just want to know how to write the command line to upload via CoreFTP as it does in the GUI interface.
Here is the basics informations to create the code
Address: ftp://servername.no-ip.org:2048
User: test
Password: 1234
Files in the office: "C:\FTP\Upload\*.7z" (or the individual name)
Files in my house (via FTP folder): "\Upload\".
No need .log file.
I don't know much about passive or active mode. Just want to write the .bat file to upload as CoreFTP does via GUI interface, with any different options in advanced mode, only the 2048 port.
Assuming that it works in the GUI form, I think that it's possible to make that work via command line, so I can run this .bat file in a tasjk manager where there is a lot of other tasks that already are working fine.
Help Getting started with CoreFTp
-
- Site Admin
- Posts: 1004
- Joined: Mon Mar 24, 2003 4:37 am
www.coreftp.com/docs/web1/Command_Line_FTP.htm
Core FTP uses a command line for transfers.
You can add scripting to it to run a script but it only supports actual FTP commands, for wildcard commands like mget or mput you have to use the -d or -u command with a wildcard.
Core FTP uses a command line for transfers.
You can add scripting to it to run a script but it only supports actual FTP commands, for wildcard commands like mget or mput you have to use the -d or -u command with a wildcard.