FTP Backup, (ONLY source Files)

Previous topic - Next topic

mentalthink

HI I made this simple Script, but I don´t know how upload the Media Folder, some commands of MS are complex to undertand...

So it´s easy implement the script...

INSTRUCCTIONS:
make a simple .TXT in some place of your computer

and paste this code:
Quote
Your Ftp username
Your Ftp account password
binary
!:--- FTP GLBASIC PROJECT´S---
!:--- Current Files        ---

!:--- Main Directory      ---
dir

!:--- Change Dir          ---
cd /GLBASIC
!:--- Current Files        ---
dir

!:--- Putting Files        ---
cd public_html
mput *.*
dir





!:--- Finish         ---
!:--- Directory Now        ---

dir

disconnect


Create un the server a Folder Called GLBasic, or how you wnat call it , (Please llok the code, if you choice anoher name you have to change a line in the code... look it)


Now in the Macro, don´t have use put this code:
Code (glbasic) Select

color 70
FTP -s:c:/src.txt Name of your FTO(Be carefully you don´t have to put domthing like ftp.somthing, NOT it´s only the name of the FPT


The line color it´s only for change the CMD (MS-DOS) color in background and foreground...

This it´s all...

Thanks
Iván J